Bug 504835 - Opentype bitmap (.otb) fonts, like Terminus, are invisible in gtk applications when font hinting is set to "None"
Summary: Opentype bitmap (.otb) fonts, like Terminus, are invisible in gtk application...
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fonts (other bugs)
Version First Reported In: 6.3.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-26 19:22 UTC by Russell Haley
Modified: 2025-05-27 23:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Haley 2025-05-26 19:22:36 UTC
STEPS TO REPRODUCE
1. (on Fedora) install terminus-fonts package
2. Configure a GTK app (gvim, mousepad, gedit, gnome-terminal, etc.) to use Terminus font.
3. Open System Settings / Text & Fonts / Fonts, and set "Hinting" to "None" 
4. Restart the GTK app.

OBSERVED RESULT

Text is invisible.

EXPECTED RESULT

Text is visible (and rendered in Terminus).

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION

Apologies for reporting as general/unspecified, but I don't know what components are implicated here. Maybe systemsettings?

I have a *hunch* that maybe whatever passes fontconfig parameters should be doing something like "hinting=true + hinstyle=hintnone" instead of "hinting=false", or vice-versa.
Comment 1 Nate Graham 2025-05-27 23:03:00 UTC
Unfortunately this is all happening in the Qt font chooser dialog; we don't have any control over what it's doing under the hood. I think for now your best bet is to not use that feature. Please also feel free to report this at https://bugreports.qt.io.

Thanks!