PDA

View Full Version : TrueType Fonts in OpenGL ES 1.1



jqweezy
05-01-2008, 08:51 AM
Any one know where I can find some support or tuts to implement True Type fonts in my application. I've looked into GLTT and FTGL, however, these use functions that are not supported in the OpenGL ES 1.1 specification. Also, alot of solutions go about using display lists (using functions like glNewList, glCallLists, etc.), but again this is not supported by ES 1.1.

I believe the best way to go about this is to start from scratch using freetype or freetype2 libraries. I believe I have to render a complete set of glyphs into a single bitmap and then convert this bitmap into a texture map, however, I am not quite sure how to do this using freetype. Any help would be appreciated.

Regards,
JQ

-NiCo-
05-01-2008, 09:03 AM
Here (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=43) you go. Just ignore the display lists in the code if you can't use them and perform the enclosed GL-calls in immediate mode.