Archive for July 29th, 2010

FTGLES

Seems that how to render TrueType fonts in OpenGL ES is something that people tend to search for a lot, and some code we’d previously babbled about that allegedly does that has disappeared off the net; so if you’re looking for that kind of thing, try checking out

FTGLES – A truetype font rendering library for OpenGL ES on iOS devices (iPad and iPhone)

FTGLES is a C++ library for rendering fonts on mobile operating systems with OpenGL ES 1.1. It is a port of FTGL. It currently targets the iPhone and iPad, with plans to port to Android in the very near future. iOS 4 is currently supported.

From the FTGL notes:

“Unlike other OpenGL font libraries FTGL uses standard font file formats so doesn’t need a preprocessing step to convert the high quality font data into a lesser quality, proprietary format.”

“FTGL uses the Freetype font library to open and ‘decode’ the fonts. It then takes that output and stores it in a format most efficient for OpenGL rendering.”

Haven’t checked it out ourselves, but it looks worth checking out if you need it, here’s the introduction; and there’s recent checkins, so apparently it’s under active development!

Continue Reading →
1