font size is changed by scaling, but blurry

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bgegg

I set the font on the label
Then change the scale value to enlarge

But it is blurry
Is this the correct scaling method?

:bust_in_silhouette: Reply From: hidemat

Not sure how you are using the font but, you shouldn’t modify the scale directly as it will cause blurriness or pixelization. Instead, you need to use a dynamic font, and set the font size from the dynamic font’s settings.

Here is a video that explains it clearly:
Dynamic Fonts in Godot

This is a good starting point for GUI creation:
Design the GUI

Thank you
I will try that tutorial
I do n’t know what scaling is used for,

bgegg | 2019-11-04 20:24

No problem. Scaling is used for the overall scale of the node. If you want to affect only the font size you want to do it in the dynamic font settings.

It’s also worth noting that the default font for Godot is low res. So scaling it up usually makes it look blurry. I would pick a font in google fonts that you like and use that instead.

hidemat | 2019-11-04 21:49

thanks
I used dynamic font.
It looks very good with no blur.

bgegg | 2019-11-05 02:05