No it's a bug, there is a code path that attempts to use a font render context never assigned, it works when you ask the char width of an already cached character.
Please switch to JOGL 2.3.2. We only maintain the very latest version.
You can take full credit for it, I don’t care – I am kind of a newb when it comes to this jogl stuff anyway.
I will buy you a couple of drinks if you are ever in my hood.
With kind regards,
From: gouessej [via jogamp] [mailto:ml-node+[hidden email]]
Sent: Wednesday, November 25, 2015 18:01 To: Etkins, Dave (HGR) <[hidden email]> Subject: Re: FontRenderContext
No it's a bug, there is a code path that attempts to use a font render context never assigned, it works when you ask the char width of an already cached character.