- m_noAA = FALSE;
-
-#ifdef __WXGTK20__
- // Create native font info
- m_nativeFontInfo.description = pango_font_description_new();
-
- // And set its values
- if (!m_faceName.empty())
- {
- pango_font_description_set_family( m_nativeFontInfo.description, wxGTK_CONV(m_faceName) );
- }
- else
- {
- switch (m_family)
- {
- case wxFONTFAMILY_MODERN:
- case wxFONTFAMILY_TELETYPE:
- pango_font_description_set_family( m_nativeFontInfo.description, "monospace" );
- break;
- case wxFONTFAMILY_ROMAN:
- pango_font_description_set_family( m_nativeFontInfo.description, "serif" );
- break;
- case wxFONTFAMILY_SWISS:
- // SWISS = sans serif
- default:
- pango_font_description_set_family( m_nativeFontInfo.description, "sans" );
- break;
- }
- }
-
- SetStyle( m_style );
- SetPointSize( m_pointSize );
- SetWeight( m_weight );
-#endif // GTK 2.0