Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Lufia on Wed 11/11/2009 14:21:11

Title: The renderer was unable to load the font.
Post by: Lufia on Wed 11/11/2009 14:21:11
I'm trying to import a custom-made ttf font in AGS but the editor has another idea... The font works fine in Word. Do I have to pay attention to something special when making a font, like not include some characters, always include others... ? Is my font just doomed ?
Title: Re: The renderer was unable to load the font.
Post by: Gilbert on Wed 11/11/2009 14:49:58
Note that when using a TTF, AGS currently uses only the "standard" 256 ASCII character slots of the font. So, if a character has ASCII code >= 256 (such as a character in a CJK font or sometimes, accent characters in western languages) it can't be displayed. The only (easy) way around this limitation at the moment is to replace some useless character slots in the 0-255 range with the symbols you want.