+ // do we have the native font info?
+ bool HasNativeFont() const
+ {
+ // we always have a Pango font description
+ return true;
+ }
+
+ // setters: all of them also take care to modify m_nativeFontInfo if we
+ // have it so as to not lose the information not carried by our fields
+ void SetPointSize(int pointSize);
+ void SetFamily(int family);
+ void SetStyle(int style);
+ void SetWeight(int weight);
+ void SetUnderlined(bool underlined);
+ bool SetFaceName(const wxString& facename);
+ void SetEncoding(wxFontEncoding encoding);
+
+ void SetNoAntiAliasing( bool no = true ) { m_noAA = no; }
+ bool GetNoAntiAliasing() const { return m_noAA; }
+
+ // and this one also modifies all the other font data fields
+ void SetNativeFontInfo(const wxNativeFontInfo& info);
+