m_info.underlined = underlined;
m_info.encoding = encoding;
- m_noAA = false;
-
m_fontFace = NULL;
m_fontBundle = NULL;
m_fontValid = false;
wxFontMgrFontRefData::wxFontMgrFontRefData(const wxFontMgrFontRefData& data)
{
m_info = data.m_info;
- m_noAA = data.m_noAA;
m_fontFace = data.m_fontFace;
m_fontBundle = data.m_fontBundle;
{
wxConstCast(this, wxFontMgrFontRefData)->EnsureValidFont();
return m_fontFace->GetFontInstance(m_info.pointSize * scale,
- antialiased && !m_noAA);
+ antialiased);
}
void wxFontMgrFontRefData::SetPointSize(int pointSize)
m_fontValid = false;
}
-void wxFontMgrFontRefData::SetNoAntiAliasing(bool no)
-{
- m_noAA = no;
-}
-
-
void wxFontMgrFontRefData::EnsureValidFont()
{
if ( !m_fontValid )