0 votes

In unity there is a font size option on each text that would change the font size only on that text. But in Godot (Or at least to my knowledge) you have to create another dynamic font to change the font size on that text only so that the other texts won't get ruined so, I was wondering is there a better way to change font size in Godot? Like a plugin somewhere that allowed you to do that?

Godot version v3.4.2
in Engine by (48 points)

1 Answer

0 votes

There is no built-in way to do this, but it should be possible to create an add-on that creates font resources for a given set of sizes and saves them to disk. You could then load those resources anywhere you need them (including RichTextLabel with a font tag).

In Godot 4.0, font size is set as a theme item rather than on the font resource, so it can be changed on individual nodes more easily.

by (11,917 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.