/ftgl-align-hack

Hacked up ftlg (OpenGL font libraries) to make it support more and better types of alignment.

Primary LanguageC++

ftgl-align-hack

Hacked up ftlg (OpenGL font library) to make it support more and better types of alignment.

This code basically gives access to some of the internals of FTGL font. Then FormatText.h/.cpp is a static class that aligns text

I needed this functionality. My format code doesn't support non-ascii :(, this is because I'm iterating character by character when calculating line length.