How do I make fonts larger without blurring?

Hi!

I’m having trouble increasing the size of a font. Increasing the scale causes blurring. Increase the size in system_font.font seems to do nothing.

Can anyone help?

Thanks. (sorry this is a stupid question!)

Try distance field fonts. They are good for this. See https://www.defold.com/manuals/font/

Side note: You should only use the system font for debugging purposes. It is rendered in a separate pass from other fonts and will always be drawn on top of everything else (at least using the default render script)

One thing that is very useful for learners is having an example to work with. Almost all of my projects, for example, start by changing the defold sprite to something else and working with that game object (it’s why I have game objects called “logo” in all of my projects, even the finished ones!). So, I do think it’s a shame that the default font should work this way. In fact, I think it could even be slightly confusing that one font works a different way from all others.

2 Likes