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
This commit is contained in:
Stefan Csomor
2003-01-17 10:29:59 +00:00
parent 9f67b77690
commit b9e3bdc539
2 changed files with 6 additions and 0 deletions

View File

@@ -189,6 +189,9 @@ void Font::Create(const char *faceName, int characterSet, int size, bool bold, b
false, false,
stc2wx(faceName), stc2wx(faceName),
encoding); encoding);
#ifdef __WXMAC__
((wxFont*)id)->SetNoAntiAliasing( true ) ;
#endif
} }

View File

@@ -189,6 +189,9 @@ void Font::Create(const char *faceName, int characterSet, int size, bool bold, b
false, false,
stc2wx(faceName), stc2wx(faceName),
encoding); encoding);
#ifdef __WXMAC__
((wxFont*)id)->SetNoAntiAliasing( true ) ;
#endif
} }