Collaboration diagram for Text Rendering - Stroke Fonts:
The OpenGLEAN font support is formally deprecated. First: The font support as it exists has nothing to do with windows and can be exported to clients or other libraries. Second: The GLUT approach of built-in fonts makes it expensive to include many fonts, and almost any pre-defined set will be too few (to say nothing of the approximately 10 that GLUT included). Third: Having what few fonts GLUT provides being split over two incompatible APIs is an absurd complication in an otherwise simple library.
Of course, we are benefitting from a different perspective. Technology has changed, and OpenGLEAN's role is different than was GLUT's intended role.
For now, this support is documented, but expect the old style fonts to migrate to an external library. OpenGLEAN inherits from GLUT, freeglut, and OpenGLUT a very small number of standard fonts. Some are bitmapped, some are stroked. Some use fixed-width positioning, some do not. OpenGLEAN offers single-character output and string output, as well as rudimentary font metrics: Width of a character, height of the entire font, and length of a string.
The stroked fonts are drawn in model space coordinates.
Along with their brief descriptions, the fonts are:
The stroked range from a maximum height of 119.05 model space units to a maximum descender below the baseline of 33.33 units. The fixed-width stroked font characters are all 104.76 units wide. These fonts are from the PEX set, and include only the printable ASCII characters from the space (decimal value 32) to the tilde (value 126).
Supported in part by SourceForge.net.
Generated on Fri Sep 16 20:15:35 2005 for OpenGLEAN by
doxygen 1.4.3
The OpenGLEAN project is hosted by
olib.org and
SourceForge.