FontRenderContext
Posted by snakedoctor on Nov 25, 2015; 3:19pm
URL: https://forum.jogamp.org/FontRenderContext-tp4035841.html
When instantiating a TextRenderer object the underlying FontRenderContext object is null.
I am experiencing an error when using the TextRenderer's public getCharWidth() method.
Apparently the code works in some cases in and in other cases a stack trace shows this error:
fontRenderContext never initialized!
The stack trace shows The GlyphProducer (another underlying object) failing on its getGlyphPixelWidth() method.
Anyone have a solution or workaround for this?