X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79e4b6277eec63c346239e8957fed478f5daa6ab..bbc3f89a8207a36a0700b0c7a9b95159f5d5a60f:/include/wx/fontmap.h?ds=inline diff --git a/include/wx/fontmap.h b/include/wx/fontmap.h index e5dc01d6e0..ba5403b81d 100644 --- a/include/wx/fontmap.h +++ b/include/wx/fontmap.h @@ -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,