From 220340b8ddd1bf50efa4698ee9b96a629274ff7a Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Mon, 2 Sep 2019 20:35:54 +0200 Subject: [PATCH] PICARD-571: Fix monospace font on macOS --- picard/tagger.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/picard/tagger.py b/picard/tagger.py index a5aeb6e32..4b97932d7 100644 --- a/picard/tagger.py +++ b/picard/tagger.py @@ -201,6 +201,8 @@ class Tagger(QtWidgets.QApplication): if IS_MACOS: # On macOS it is not common that the global menu shows icons self.setAttribute(QtCore.Qt.AA_DontShowIconsInMenus) + # Ensure monospace font works on macOS + QtGui.QFont.insertSubstitution('Monospace', 'Menlo') # Setup logging log.debug("Starting Picard from %r", os.path.abspath(__file__))