From b9e3bdc5399e8152eab9cfd05b62c8ea0031fc0b Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 17 Jan 2003 10:29:59 +0000 Subject: [PATCH] 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 --- contrib/src/stc/PlatWX.cpp | 3 +++ src/stc/PlatWX.cpp | 3 +++ 2 files changed, 6 insertions(+) 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 } -- 2.45.2