text alignment with TextRenderer / VTextRenderer ?
in
Programming Questions
•
3 years ago
How would you go about controlling the alignment of the text when using the OpenGL TextRenderer Class? (this is what the VTextRenderer uses)
http://download.java.net/media/jogl/jogl-2.x-docs/com/sun/opengl/util/awt/TextRenderer.html
The class doesn't offer any members dealing with this (that I can see). Do you think I will need to create a custom String formattor to replicate the typical textAlign(RIGHT) kind of field? But I can't believe there isn't already an easy way somewhere in the bowels of java.
thanks for your help
daniel
http://download.java.net/media/jogl/jogl-2.x-docs/com/sun/opengl/util/awt/TextRenderer.html
The class doesn't offer any members dealing with this (that I can see). Do you think I will need to create a custom String formattor to replicate the typical textAlign(RIGHT) kind of field? But I can't believe there isn't already an easy way somewhere in the bowels of java.
thanks for your help
daniel
1
