• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Issue with font

D

DarlesLSF

Guest
Hello, I'm having an issue with my font: blurred.
Here with antialiasing and high graphic:


Here without:


How can I fix that? I'm using the draw event.
 

Dev_M

Member
Hello, I'm having an issue with my font: blurred.
Here with antialiasing and high graphic:
How can I fix that? I'm using the draw event.
What is the issue?
If the issue is that it is blurred, make sure that its x and y is on integer values and not float...
 
What is the intended size of the font and the size of your resolution? If you're not scaling your font at an integer ratio -- for example, if your pixel font is a truetype font at 6pt and you draw it at 10pt instead of 12pt -- you'll get pixel distortion like the screenshot at the bottom. Your only options are to change your font to fit the size required, use the blurry filter like in the screenshot on top, or scale up your game's resolution so the font appears more accurate.
 
Top