notes from the bigfug

programming light and other strange tales

Skip to: Content | Sidebar | Footer

Tag: freetype2

Adding FreeType2 support to PatchBox

5 June, 2009 (16:50) | PatchBox, Programming | By: Alex May

It?s well overdue, but am finally getting around to adding font support to PatchBox.  Rather than using bitmap based fonts, I thought it would be fun to use the font outlines and create proper 3D models.  Here?s how it went:
 
Having extracted the glyph outline using FreeType2, let?s draw it with GL_LINES? ah?

GL_LINE_STRIP isn?t correct either?

Ah, [...]


Page optimized by WP Minify WordPress Plugin