From 50c65497d05ca7942ab6c77bb0000a5039eaea7e Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Wed, 10 Jun 2026 11:14:48 +0200 Subject: [PATCH] fix(macOS): add Supplemental fonts search path for system and default fonts --- src/utils/system.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/system.py b/src/utils/system.py index db69425..3982ac5 100644 --- a/src/utils/system.py +++ b/src/utils/system.py @@ -109,6 +109,7 @@ def get_system_fonts(): elif system == "Darwin": # macOS font_dirs = [ "/System/Library/Fonts/", + "/System/Library/Fonts/Supplemental/", "/Library/Fonts/", os.path.expanduser("~/Library/Fonts/") ] @@ -189,6 +190,8 @@ def find_default_truetype_font(): ] elif system == "darwin": preferred_fonts = [ + "/System/Library/Fonts/Supplemental/Arial.ttf", + "/System/Library/Fonts/Supplemental/Courier New.ttf", "/System/Library/Fonts/SFNS.ttf", "/System/Library/Fonts/SFNSDisplay.ttf", "/System/Library/Fonts/Helvetica.ttc",