pop-os / libcosmic

WIP library for COSMIC applications
https://pop-os.github.io/libcosmic/cosmic/
Mozilla Public License 2.0
343 stars 31 forks source link

[Feature Request/Bug Report] Allow user to set preferred/fallback fonts so that fonts are no longer inconsistent across programs #518

Open moi-cest-matthew opened 4 days ago

moi-cest-matthew commented 4 days ago

Steps to reproduce:

Expected behaviour: Just as on the legacy COSMIC, Fira Sans is used for Latin text. Japanese text is not necessarily gothic but if some of it is mincho, all of it should be mincho.

Actual behaviour: Font selection is erratic to the point of seeming random at first glance, although different toolkits have different behaviour.

COSMIC programs and applets display Latin (and presumably Greek/Cyrillic) text without problems but in Japanese, kana are always mincho (serif) while kanji are almost always gothic. The exception appears to be in sub-headers. screenshot-2024-06-27-00-27-54 screenshot-2024-06-27-00-52-08

GTK4 programs display Western text in Cantarell and Japanese text in what appears to be Noto Sans CJK JP for normal text, but another "fancy" font for some headers.

screenshot-2024-06-27-01-02-53 screenshot-2024-06-27-01-10-32

GTK3 programs and Qt programs that do not let you set the font tended to behave as above, except Western text does not use Cantarell.

screenshot-2024-06-27-01-12-51

screenshot-2024-06-27-01-19-31

Feature Request:

A setting that allows the user to set preferred and fallback fonts for different scripts and text for specific parts of the desktop, not unlike Firefox's font settings (which hide the script specific settings under and "advanced" category).