1 Commits

View File

@@ -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",