Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Destroyer on Sat 11/07/2009 15:47:52

Title: "Unable to load font 0"
Post by: Destroyer on Sat 11/07/2009 15:47:52
So here is the problem:
(http://img224.imageshack.us/img224/2217/ongelma.png)

I have tried everything to fix this.

The font 0 is located in "C:\Users\Juho\Documents\fontteja\ariblk.ttf"
I have tried to rename it to font 0 but nothing happen.

AGS version is 3.1.2 SP1
Title: Re: "Unable to load font 0"
Post by: on Sat 11/07/2009 16:30:53
You need to import the font in AGS itself, placing it in a folder somewhere isn't enough. Open the FONTS tab in AGS, then "import font". You can also set the size in points when you do so.

(http://img525.imageshack.us/img525/5186/unbenannt1kopieo.png)
Title: Re: "Unable to load font 0"
Post by: Destroyer on Sat 11/07/2009 16:38:34
Yeah i have imported the fonts, but still it's says it.  :o
Title: Re: "Unable to load font 0"
Post by: GuyAwesome on Sat 11/07/2009 17:07:22
So, the font imports OK, but crashes when you try to run the game?
Is the path you gave in the first post exactly right, or could there be some non-English characters in there? If there are, it might be part of the on-going 'AGS vs. unicode' problem (like this issue (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=38196.0)). What if you move the font (or the whole game, if necessary) to a different folder?
Title: Re: "Unable to load font 0"
Post by: Destroyer on Sat 11/07/2009 17:28:10
It´s finnish font file.
//noe there is english font file and it´s working. Thanx!  :)