I'm currently porting an existing Flash project (don't ask) into Java. There is no specific reason to use JOGL other than I have some OpenGL experience. One of the few good things about Flash is the clearly rendered text, especially for small font sizes.
I would like to both have clear text and take advantage of a 3D environment (rotations etc..). I have tried using TextRenderer but cannot get clear text for small font sizes.
Is there a better library that I can use? Or are there tips or tricks that would allow for better quality rendering? Perhaps using texture rendered text.
The problem with using TextRenderer and TextureRenderer is that the font is rasterized two times. First by Java2D to generate the texture and second by OpenGL by drawing the texture. This really distortes/blurs the font rendering resulting in bad quality.
If u really want high quality font rendering using JOGL theres no way around glut.glutStrokeCharacter() wich renders the strings as mesh. With multisampling enabled u should get a decent quality especially when rotating the string (not as good a dedicated truetype font-rendering engine, but way better than Java2D+OpenGL).