godotengine / godotengine/godot

Pixel font renders impossibly small size on tooltips

Open
#97,497 1 comment 2 reactions 0 assignees View on GitHub
bug topic:gui
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### 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](https://github.com/user-attachments/assets/3349c21f-e9af-4493-87c0-de56c2ccb417)

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

### Steps to reproduce

* use [terminus ttf](https://files.ax86.net/terminus-ttf/) as Main Font and set size to `12`
* check a signal tooltip with args that tries to render at size 10 or something

### Minimal reproduction project (MRP)

no project necessary

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Godot 4.3 on Linux with X11 using the Terminus TTF font at size 12, then inspect the signal tooltip UI where arguments are rendered at size 10. Done means tooltip text no longer becomes unreadably smaller than the configured main font size.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.