]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontmap.h
excluded geometry.cpp from build by using #if wxUSE_GEOMETRY which is never
[wxWidgets.git] / include / wx / fontmap.h
index e5dc01d6e09305474042c8f50bafa8e2ab2e4796..ba5403b81d09750749435514c8a4bde111b4e52c 100644 (file)
@@ -55,8 +55,21 @@ public:
     // return FALSE
     virtual bool GetAltForEncoding(wxFontEncoding encoding,
                                    wxNativeEncodingInfo *info,
+                                   const wxString& facename = wxEmptyString,
                                    bool interactive = TRUE);
 
+    // version better suitable for 'public' use. Returns wxFontEcoding
+    // that can be used it wxFont ctor
+    bool GetAltForEncoding(wxFontEncoding encoding,
+                           wxFontEncoding *alt_encoding,
+                           const wxString& facename = wxEmptyString,
+                           bool interactive = TRUE);
+
+    // checks whether given encoding is available in given face or not.
+    // If no facename is given, 
+    virtual bool IsEncodingAvailable(wxFontEncoding encoding,
+                                     const wxString& facename = wxEmptyString);
+
     // returns the encoding for the given charset (in the form of RFC 2046) or
     // wxFONTENCODING_SYSTEM if couldn't decode it
     virtual wxFontEncoding CharsetToEncoding(const wxString& charset,