Change default font on macOS (#1479)

This commit is contained in:
Veronica Berglyd Olsen
2023-07-20 01:28:31 +02:00
committed by GitHub
+2 -2
View File
@@ -354,8 +354,8 @@ class Config:
logger.warning("Unknown font '%s'", family)
if self.osWindows and "Arial" in fontFam:
self.textFont = "Arial"
elif self.osDarwin and "Courier" in fontFam:
self.textFont = "Courier"
elif self.osDarwin and "Helvetica" in fontFam:
self.textFont = "Helvetica"
else:
self.textFont = fontDB.systemFont(QFontDatabase.GeneralFont).family()
else: