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:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user