From 3415733effe38305abda42bbdeb1e6aeec2bcf24 Mon Sep 17 00:00:00 2001 From: Tim Warren Date: Fri, 17 Apr 2015 12:57:49 -0400 Subject: [PATCH] Font-size tweak --- src/widgets/EditPane.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/widgets/EditPane.cpp b/src/widgets/EditPane.cpp index 50e1b1d..e6481ae 100644 --- a/src/widgets/EditPane.cpp +++ b/src/widgets/EditPane.cpp @@ -42,12 +42,19 @@ bool EditPane::LoadAndHighlight(wxString filePath) this->StyleClearAll(); // Font setup +#ifdef __WXMAC__ wxFont *defaultFont = wxFont::New( 14, wxFONTFAMILY_MODERN, - wxFONTFLAG_ANTIALIASED, - "Anonymous Pro" + wxFONTFLAG_ANTIALIASED ); +#else + wxFont *defaultFont = wxFont::New( + 12, + wxFONTFAMILY_MODERN, + wxFONTFLAG_ANTIALIASED + ); +#endif if (lexerMap.count(lang) > 0) {