using ttf file with nuclex framework ?

Dec 14, 2011 at 10:19 PM

hi, 

is it possible to use a font that is not installed on the pc, with the nuclex framework (suppose i have the ttf file, but it is not installed). if yes, could you briefly write down how or provide a link with information? i have checked out the documentation and couldn't figure it out.

 

thank you in advance for any help :)

Coordinator
Dec 18, 2011 at 9:30 AM

Yes it's possible. Just enter the path of the .ttf file instead of the name of the typeface in your sprite font description.

I may have omitted that in the documentation. Here's the relevant code, at least: FreeTypeManager.cpp ;)