JOGL has a TextRenderer class that should do what you want. It takes a Java βFontβ object, and I think you can specify any ttf file for such objects. It also supports anti-aliasing, I'm not sure kerning, but probably also. :)
Unfortunately, JOGL docs are currently ... missing. I donβt know where they went, I hope they will return soon (in a day or two). Otherwise, I would link you to the documentation for the class. Excuse me!
source share