nanogui@linuxhacker.org
nanogui@linuxhacker.org
: a look up table is definately the way to go... but do you really want to use
: bitmap fonts ??? I would think they would look kinda jagged, especially at a
: 45 degree angle. GLUT ( the OpenGL Utility Toolkit ) draws characters very
: nicely at arbitrary angles using stroke fonts. I would definately look at
: the GLUT code before I implemented anything.
:
Thanks for the GLUT reference. The issue isn't that we should use
bitmap fonts or not, but rather, that ALL fonts need to be converted
to a bitmap just before display, because nanogui uses a bitmap
renderer to actually display the font. So if the font is stroke-based,
then it would be converted to a monochrome bitmap before display,
and handed off to the std font display routine.
If actually "outputing" with stroking is desired, then the mid level
line draw routines could be called directly, but that's not directly
supported yet.
Greg
nanogui@linuxhacker.org