Game Development Community

FreeType Fonts, OpenGL, and Torque

by Keith Johnston · in Torque Game Engine · 02/20/2003 (3:26 pm) · 3 replies

Has anyone looked at possibly using FreeType to display anti-aliased fonts?

Looks like there are already some open-source libraries that use OpenGL that might be integrated into Torque to do this:

gltt.sourceforge.net/

or

oglft.sourceforge.net/

#1
02/21/2003 (9:17 pm)
Well I now see that the fonts in Torque are anti-aliased. I guess freetype would offer the advantage of not having to have the font on the system though.
#2
02/22/2003 (1:09 am)
Well, you don't have to have the font on your system, Torque automagically creates a binary of the font type for you which you can then distribute with your game... look in example/common/ui/cache to see the generated fonts... so you can use any font on your system (try it and change any gui font profile to a custom font), TGE creates the cache file and you're set :)
#3
08/22/2004 (8:28 am)
Could TORQUE support Double-byte font?