Inconsistent Font Scaling in Widgets

DehoEdeba
Sun, 19 Dec 2021 00:31:55 +0000
Blueprint

Hello everyone, I need your help

I’m coming back to something that’s been puzzling me for a while and I finally want to get rid of that unwanted behavior.

See, text in Unreal seems to automatically rescale depending on the window size. It’s easy to test, just write a Text in the middle of a Widget, scroll with your mouse, and you’ll soon see that the font more or less adapts but the end result can vary wildly.

It can be a real problem when a word sticks out too much in unwrapped mode OR creates a whole new line in wrapped mode. It often messes up my UI.

I’ve tried wrapping with SizeBoxes or ScaleBoxes to no avail.
The chosen font doesn’t matter.
It’s not a resolution problem (my game is locked to 1920x1080).
It’s not a DPI problem I think (mine is completely linear, see below)

No it’s purely a “window size” problem and I have no idea how to solve this.

Thanks in advance for any suggestion! I’m too young to pull all my hair out like that. It really looks like a problem that SHOULD have a basic solution since all games want to have consistent text UI in theory, don’t they?

18 posts - 7 participants