GameMaker Custom font is not displayed correctly

P

pytong07

Guest
I am using Google's Noto Sans fonts. Somehow the font is not showing up correctly. How can I fix this?

This is what I am seeing right now. Any help is appreciated!
 

Attachments

Last edited by a moderator:

TheouAegis

Member
Make sure you are loading it in at a valid font size. GM creates sprites based on the size you choose to load the font with.

I've had better luck drawing my fonts to a surface at the proper scale and then letting the surface get scaled rather than the font.
 
P

pytong07

Guest
Thank you so much!

In the end I had to use a smaller font size and the text are displayed normally now. I was using a font size of 100 for some text, but turned out the font was created with a maximum size of 80. As long as the font size is smaller than or equal to 80, the text shows up normally.
 
Top