X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/910b9fc5c090b6d53a41b1fde661bce751b430b9..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/latex/wx/fontmap.tex?ds=sidebyside diff --git a/docs/latex/wx/fontmap.tex b/docs/latex/wx/fontmap.tex index 9384899774..6a3abc88d7 100644 --- a/docs/latex/wx/fontmap.tex +++ b/docs/latex/wx/fontmap.tex @@ -114,6 +114,16 @@ one. \helpref{wxFontMapper::Set}{wxfontmapperset} +\membersection{wxFontMapper::GetAllEncodingNames}\label{wxfontmappergetallencodingnames} + +\func{static const wxChar**}{GetAllEncodingNames}{\param{wxFontEncoding }{encoding}} + +Returns the array of all possible names for the given encoding. The array is +\NULL-terminated. IF it isn't empty, the first name in it is the canonical +encoding name, i.e. the same string as returned by +\helpref{GetEncodingName()}{wxfontmappergetencodingname}. + + \membersection{wxFontMapper::GetAltForEncoding}\label{wxfontmappergetaltforencoding} \func{bool}{GetAltForEncoding}{\param{wxFontEncoding }{encoding}, \param{wxNativeEncodingInfo* }{info}, \param{const wxString\& }{facename = wxEmptyString}, \param{bool }{interactive = true}} @@ -125,7 +135,7 @@ available on this system). If successful, return true and fill info structure with the parameters required to create the font, otherwise return false. -The first form is for wxWindows' internal use while the second one +The first form is for wxWidgets' internal use while the second one is better suitable for general use -- it returns wxFontEncoding which can consequently be passed to wxFont constructor. @@ -208,7 +218,7 @@ The title for the dialogs (note that default is quite reasonable). Set the current font mapper object and return previous one (may be NULL). This method is only useful if you want to plug-in an alternative font mapper -into wxWindows. +into wxWidgets. \wxheading{See also}