0

Godot Version

v4.5.1.stable.official [f62fdbde1]

Question

I have a Label node "DisplayWord" that shows the word the user typed. Therefore it could be anything from 'Cat' to 'Asphyxiation'.

I want DisplayWord to scale dynamically and occupy the entire canvas to fit whatever word is typed without clipping. I placed DisplayWord in a PanelContainer node and scale the container dynamically. This does work as expected functionally, but the font looks ugly after scaling to a different size. There seem to be a lot of interpolation artifacts. I want this to look crisp after scaling, much like "Nearest" interpolation for texture images.

Here's how it looks after the dynamic scaling. enter image description here

I have tried .ttf, .otf and .fnt files, but no luck

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.