0 votes

I'm making a 2d top-down RPG with a dialog system. In my Dialog Box scene I have a RichTextLabel that loads the text from a json. Font is a custom DynamicFont.

My problem is that, while the text looks fine if I don't mess with the window size, it gets wonky when I maximize or resize it (looks like the text is somehow moved up inside its label). My window stretch settings are Mode: 2D and Aspect: Keep.

(If I change Aspect to "Ignore" the problem goes away! But then the aspect gets messed up on window resize so I can't use that. All other Aspect options result in the problem.)

Before resize:
Text is fine

After resize:
Text looks like it's moved up into its label or something?

Godot version 3.3
in Engine by (12 points)

Do you still have the problem if you use the default font?

Huh, no, I don't. This prompted me to check more fonts and some had this problem, while others didn't. I hadn't even thought it could be the fonts' fault, this means that I can at least look for a different font and solve my problem this way. Thank you!

Please log in or register to answer this question.

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.