Skip to content

Commit a9224fe

Browse files
committed
Improve default font detection
- Bump to 0.0.40
1 parent f5610ea commit a9224fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyqt_code_editor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
from ._settings import settings
44

5-
__version__ = '0.0.39'
5+
__version__ = '0.0.40'

pyqt_code_editor/_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ def set_font_family(self):
230230
from .utils import get_first_available_font
231231

232232
self.font_family = get_first_available_font(
233-
['Ubuntu Mono', 'Liberation Mono', 'DejaVu Sans Mono', 'Courier New',
234-
'monospace'])
233+
['Ubuntu Mono', 'Liberation Mono', 'DejaVu Sans Mono', 'Consolas',
234+
'Menlo', 'Courier New', 'monospace'])
235235

236236
# Fallback if no font was found
237237
if self.font_family is None:

0 commit comments

Comments
 (0)