Skip to content

Commit

Permalink
Change default font on macOS (#1479)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkbo authored Jul 19, 2023
2 parents 664d314 + 57d6b6a commit f2bba55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions novelwriter/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ def setTextFont(self, family: str | None, pointSize: int = 12):
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:
Expand Down

0 comments on commit f2bba55

Please sign in to comment.