Summary: | Synchronize more font settings to gtk | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Ilya Fedin <fedin-ilja2010> |
Component: | kcm_style | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | 4wy78uwh, bjorn.bidar, g311571057, kdedev, mail, nate, sam, site.kde |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ilya Fedin
2024-05-28 21:37:04 UTC
Good idea, wanna submit a patch? No, unlikely I will do that... 😅 Since gtk 4.16, one has to set a new setting to 'manual' for other font rendering settings to work: gtk-font-rendering / org.gnome.desktop.interface.font-rendering / <none> https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7113 The MR also mentions a settings.ini-only gtk-hint-font-metrics setting (which is not new) that control subpixel positioning of text Related to this I found that the font settings don't forward the monospace font setting through to GTK. I tried to set my fonts in Emacs through gsettings so they can use the KDE settings. gsettings doesn't match with the KDE settings. Plasma 6.5 will support setting monospace-font-name and document-font-name. I didn't implement any of the other settings since I didn't understand them well enough to feel confident messing with them. That's quite sad... Antialiasing/hint settings are the most important as you see the result of them in any GTK application. While for monospace or document font you would need a gnome terminal/editor/etc which I guess isn't used by much users. (In reply to Ilya Fedin from comment #6) > That's quite sad... Antialiasing/hint settings are the most important as you > see the result of them in any GTK application. While for monospace or > document font you would need a gnome terminal/editor/etc which I guess isn't > used by much users. I think there are a decent number of people who prefer ptyxis or ghostty over konsole, so this will benefit them. I also prefer meld over any of the Qt diff visualizers and that uses monospace-font. Really I was surprised at how easy it was to add support for those to kde-gtk-config. The code infra is already in place to update the gtk settings files and gsettings, so if you know how these settings _should_ be mapped you can go ahead and do it yourself easily enough. |