[SOLVED ] Heratic display of fonts since upgrade to 3.2.1

Started by Peter Bear, Wed 20/07/2011 12:06:42

Previous topic - Next topic

Peter Bear

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.
Not much time for gaming neither creating, but keeping an eye on everything :)

Peter Bear

Same issue under virtualbox ... and another XP installation.
Not much time for gaming neither creating, but keeping an eye on everything :)

Khris

Could you show us a screenshot?

Also, are you using a font with outlines?
Try disabling anti-aliasing ttf fonts in General settings.

Peter Bear

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 ... )



I also tryied to download another TTF font to switch, it does the same result ... Although the fonts look nice in other programs
Not much time for gaming neither creating, but keeping an eye on everything :)

Peter Bear

#4
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 ;(
Not much time for gaming neither creating, but keeping an eye on everything :)

Khris

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.

Peter Bear

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 !!!
Not much time for gaming neither creating, but keeping an eye on everything :)

SMF spam blocked by CleanTalk