godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.48k stars 21.26k forks source link

Pixel font renders impossibly small size on tooltips #97497

Open unlessgames opened 2 months ago

unlessgames commented 2 months ago

Tested versions

4.3 stable

System information

Linux with X11

Issue description

When using a pixel font like Terminus, and picking the smallest possible size as Main Font in the settings, some GUI elements still try to render in a smaller font size leading to unreadable text.

godot_small_pixel_font

(make sure to view the image above at a pixel perfect zoom)

Steps to reproduce

Minimal reproduction project (MRP)

no project necessary

unlessgames commented 2 months ago

Maybe there could be an option to not allow different sizes anywhere from the main font size, or a separate size setting for "small text" (which you could set to the same size as your main font if needed).