From: Stefan Csomor Date: Fri, 17 Jan 2003 10:29:59 +0000 (+0000) Subject: make sure wxMac fonts are never AntiAliased (measuring problems would occur, because... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b9e3bdc5399e8152eab9cfd05b62c8ea0031fc0b make sure wxMac fonts are never AntiAliased (measuring problems would occur, because char-widths become fractional then) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 68bd44f2ea..54ba588dd1 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -189,6 +189,9 @@ void Font::Create(const char *faceName, int characterSet, int size, bool bold, b false, stc2wx(faceName), encoding); +#ifdef __WXMAC__ + ((wxFont*)id)->SetNoAntiAliasing( true ) ; +#endif } diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 68bd44f2ea..54ba588dd1 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -189,6 +189,9 @@ void Font::Create(const char *faceName, int characterSet, int size, bool bold, b false, stc2wx(faceName), encoding); +#ifdef __WXMAC__ + ((wxFont*)id)->SetNoAntiAliasing( true ) ; +#endif }