From 1d7f22db2a5d1927ea341c64f54485b3af81d205 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Sat, 12 Aug 2023 12:00:11 -0400 Subject: [PATCH] Add a backup macOS UI font to cover rare font loading issues. On some macOS systems the normal Gtk font doesn't load. It's possible to force these systems to load the font using system-ui as the font family instead. We add this to all widgets as a backup, after the default macOS font has failed to load. Fixes https://gitlab.com/inkscape/inkscape/-/issues/3532 --- share/ui/mac.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/ui/mac.css b/share/ui/mac.css index 694aa6fcdb..09f32015c1 100644 --- a/share/ui/mac.css +++ b/share/ui/mac.css @@ -1,4 +1,9 @@ /* This fix a bad performance on Mac (maybe others) on some themes */ button, spinbutton, -combobox {box-shadow: none;} \ No newline at end of file +combobox {box-shadow: none;} + +/* Fix for rare macOS systems that don't load the right system font */ +* { + font-family: ".AppleSystemUIFont", system-ui; +} -- GitLab