You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Font settings widget saves nonexistent font families without validation - apps silently fall back to arbitrary fonts #222
On any row (e.g. "Default font"), open the font chooser, type into the Family field a family that is not installed - for example DejaVu Sans Semi-Condensed (DejaVu Sans only ships a "Condensed" variant, not "Semi-Condensed") - and confirm.
The typed string is persisted verbatim into the gsettings key:
gsettings get org.cinnamon.desktop.interface font-name -> 'DejaVu Sans Semi-Condensed 11'
the same happens for document-font-name, org.nemo.desktop font and titlebar-font.
Observed
The stored family cannot be resolved by fontconfig: fc-match "DejaVu Sans Semi-Condensed" returns LiberationSans-Regular.ttf.
GTK applications then silently render with a different, unrelated font. Because every app/toolkit resolves the fallback differently, the UI becomes inconsistent - some parts use the intended font, others a fallback, with no error or warning shown anywhere.
Expected
The font widget should validate the selected family against fontconfig (e.g. against the GtkFontChooser family list, or fc-list / Pango) and refuse or flag families that cannot be resolved instead of saving them.
Root cause
xapp/SettingsWidgets.py -> FontButton binds Gtk.FontButton.font-name directly to the gsettings key (Gio.SettingsBindFlags.DEFAULT) with no validation.
GtkFontChooser's family entry also accepts arbitrary typed family names, so any typo or non-existent variant (e.g. a width such as Semi-Condensed that the family does not ship) reaches the settings keys.
Notes
The invalid value is spread to all GTK apps at once: csd-xsettings reads org.gnome.desktop.interface font-name and publishes it as the XSettings Gtk/FontName key.
The widget is reused by many Mint settings modules, so this silent path is not specific to one app.
A repair/warning on startup when a stored font family cannot be resolved would help users who already have such values in dconf.
Activity
mtwebster commentedon Nov 27, 2026
Not sure I understand how you're getting the font chooser to accept a font it won't show in the first place - maybe I'm misunderstanding here:
"Select" is disabled