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) {