Login  Register

Re: JOGL2 Text drawing performance

Posted by Sven Gothel on Oct 20, 2011; 8:28am
URL: https://forum.jogamp.org/JOGL2-Text-drawing-performance-tp3420691p3437047.html

On Thursday, October 20, 2011 09:52:35 AM gouessej [via jogamp] wrote:

>
> Hi
>
> I worked on a GIS application in my previous job, I know what you mean. You
> should respect this way of using the previous TextRenderer:
> http://forum.jogamp.org/JOGL-High-performance-text-rendering-tp1319060p3157747.html
> http://forum.jogamp.org/JOGL-High-performance-text-rendering-tp1319060p3157747.html 
>
> The previous TextRenderer does not work on ES2 whereas the new TextRenderer
> does not work on OpenGL 1.x. I have never tested them with the forward
> compatible context and only Sven can confirm whether the new text renderer
> works with it. The previous TextRenderer does not support the forward
> compatible context as it uses some deprecated and/or removed features.

The new text renderer in graph works w/ everything GL2ES2,
ie. ES2, GL2, GL3, GL3bc, GL4, GL4bc, hence core and fwd - yes.

Even though it works nice,
we will change the API a bit to make it more comfortable.
Another 'warning': We sure miss some of he font metrics provided,
since we are not rendering it with a scanline (bitmapped) methodology.
So some font experts might not be satisfied.

Call for help: Whoever is a font expert and can help with
making the scanline font metrics available in the curved 'bezier' world
is asked to help us out in this regard.

~Sven