Login  Register

Re: com.jogamp.graph.curve.opengl.TextRenderer without shader?

Posted by aqd on Aug 05, 2014; 2:48pm
URL: https://forum.jogamp.org/com-jogamp-graph-curve-opengl-TextRenderer-without-shader-tp4032687p4032714.html

Sorry I was wrong. It failed with Chinese no matter the size, or the font.

I have tested:

Adobe Fan Heiti Std B
Arial Unicode MS
Droid Sans Fallback (Android's font)
Microsoft JHengHei
Microsoft YaHei
MingLiU



Droid Sans looks nearly perfect and its holes seem only filled because the stroke is far too wide. I set the weight property but nothing changes.



I still had to get AWT TextRenderer back for now. Somehow it gets very slow even with the latest CPU (i7-4700MQ) and GPU (GTX 860m) of mine. Rendering hundreds of chinese names is enough to completely freeze my World Wind for more than a second. However, I workaround the problem by pre-rendering text in another thread (to AWT backing store, Java2D is the only thing that's slow).

I assume you people won't further improve the AWT renderer, right? So I don't need to bother with source compatibility?