I want to use swedish characters like "å,ä,ö" in my game. What should I do to make the game understand them and display them?
You can get a true type font (like the ones you use in word) and import it into AGS.
I think you need to rename whichever font it is to "agsfntX.ttf" (where X is a number).
Ok, thanks, but how do I tell the game to use that font?
For Display(...) commands, and most other text: SetNormalFont(x);
For Speech: SetSpeechFont(x);
(In game_start would probably be best.)
For GUI Labels (Buttons, ListBoxes etc), just set the 'Font:' option in the editor.
Or you can simply import over fonts 0, 1 and 2 in the AGS editor font tab.
Well, sure. If you want to do it the easy way ...
Although if you import over those fonts, and then need others (e.g. for a translation) you'll need to re-import some others. Importing the Swedish fonts as extras saves a tiny, tiny amount of time & effort.
yea, in the global script, under "function game start() {", and then the REM mumbo-jumbo
Hey, thanks for all good answers! It worked. But now I need a font with outlined characters (White with black lines like one of the default fonts). Is there an easy way to edit a truetypefont and make lines arond it? Or maybe someone has a truetype font for me to download?
"use with outline font: AUTOMATIC"
da-da-da!
Ok, so where in the script should I put the command?
select it from the font tab