From: Stefan Csomor Date: Fri, 27 Jun 2008 15:27:21 +0000 (+0000) Subject: use default fonts that have also bold and italic variants present on the system ... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/92b6654b661cf8438d191872de3b3c07e4eeb035 use default fonts that have also bold and italic variants present on the system (CoreText does not synthesize font variants) fixes #4751 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/font.cpp b/src/osx/carbon/font.cpp index d37f02f402..53a3061271 100644 --- a/src/osx/carbon/font.cpp +++ b/src/osx/carbon/font.cpp @@ -391,12 +391,12 @@ void wxFontRefData::MacFindFont() break ; case wxSWISS : - m_faceName = wxT("Lucida Grande"); + m_faceName = wxT("Helvetica"); break ; case wxMODERN : case wxTELETYPE: - m_faceName = wxT("Monaco"); + m_faceName = wxT("Courier"); break ; default: @@ -542,12 +542,12 @@ void wxFontRefData::MacFindFont() break ; case wxSWISS : - m_faceName = wxT("Lucida Grande"); + m_faceName = wxT("Helvetica"); break ; case wxMODERN : case wxTELETYPE: - m_faceName = wxT("Monaco"); + m_faceName = wxT("Courier"); break ; default: