Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Peter Bear on Wed 20/07/2011 12:06:42

Title: [SOLVED ] Heratic display of fonts since upgrade to 3.2.1
Post by: Peter Bear on Wed 20/07/2011 12:06:42
Hello again

In my game, I use a customised font.ttf, since I upgraded to the last version of AGS, it displays weirdly. ( some lines are doubled ... ) and this is ugly.

I copied the agsdefaut0,1,2.ttf fonts to another location then selected them to switch back to the defaut game font ... they are displaying in a strange way too ...


Can someone help me about this ? Is this a AGS bug or maybe I have to change a parameter somewhere ?
Thank you very much.
Title: Re: Heratic display of fonts since upgrade to 3.2.1
Post by: Peter Bear on Wed 20/07/2011 12:51:50
Same issue under virtualbox ... and another XP installation.
Title: Re: Heratic display of fonts since upgrade to 3.2.1
Post by: Khris on Wed 20/07/2011 16:01:09
Could you show us a screenshot?

Also, are you using a font with outlines?
Try disabling anti-aliasing ttf fonts in General settings.
Title: Re: Heratic display of fonts since upgrade to 3.2.1
Post by: Peter Bear on Wed 20/07/2011 16:55:37
My antialisasing setting is already off.

Here is a screenshot ( same issue in FULL SCREEN ) , under linux ( once compiled, full screen or window ) , or windows.

You can see the problem in the AGS Editor GUI, then in the game itself.
( doubled lines in the C, or S ... )

(http://pix.toile-libre.org/upload/img/1311176994.png) (http://pix.toile-libre.org/?img=1311176994.png)

I also tryied to download another TTF font to switch, it does the same result ... Although the fonts look nice in other programs
Title: Re: Heratic display of fonts since upgrade to 3.2.1
Post by: Peter Bear on Wed 20/07/2011 17:01:10
allright ... I have something nicer when checkin "fonts designed to 640*480", I pick a fontsize then they display just fine, no resize and it works ...

I will read the help file better, I had no problems before upgrading the editor.


-----

edit : talked to fast ... not working with all sizes and the "resize" from AGS keeps giving me bad looking characters ;(
Title: Re: Heratic display of fonts since upgrade to 3.2.1
Post by: Khris on Thu 21/07/2011 10:43:05
When you import the font you should get a size selection. If you don't choose the correct one, character's might end up arbitrarily scaled i.e. with double lines.
To make sure you have a nice, readable font, you might want to design it yourself using Radiant's FontEdit.
Title: Re: Heratic display of fonts since upgrade to 3.2.1
Post by: Peter Bear on Thu 21/07/2011 17:22:18
Wonderful !!

The Volker ( goldfish ) is intended to be displayed at 9px !
( information seen on the DAFONT site, while downloading it again )

Picking the "9" size while importing the font made it display flawless !

Thank you Khris !!!