• Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!

Legacy GM Font Size

H

Heat4Life

Guest
Hello there dude! Is there a 'font size' stuff on the GML? What I meant was Is there a code to customize the size of the current font?

Thanks! All answers would be greatly appreciated! :D
 
A

Aura

Guest
Fonts are internally stored as images, so you can't alter the font size per se. You can however use draw_text_transformed() which would scale up/down the text. But since that would be scaling up/down instead of resizing, the text might lose quality and look blurry.

The best way to have multiple font sizes is to keep different font resources for different sizes.
 

RangerX

Member
Scaling up can yield excellent results if you scale by an integer value.
Scaling down will always result is graphical loss. I would avoid it.
 
Top