Switched antialiasing off since GetTextExtent doesn't work properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4776,6 +4776,9 @@ void wxRichTextAttr::CopyTo(wxTextAttrEx& attr) const
|
||||
wxFont wxRichTextAttr::CreateFont() const
|
||||
{
|
||||
wxFont font(m_fontSize, wxDEFAULT, m_fontStyle, m_fontWeight, m_fontUnderlined, m_fontFaceName);
|
||||
#ifdef __WXMAC__
|
||||
font.SetNoAntiAliasing(true);
|
||||
#endif
|
||||
return font;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user