]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/fontutil.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: palmos/fontutil.cpp
3 // Purpose: font-related helper functions
4 // Author: William Osborne
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 // ============================================================================
14 // ============================================================================
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
20 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "fontutil.h"
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
32 #include "wx/string.h"
35 #include "wx/encinfo.h"
38 #include "wx/fontutil.h"
39 #include "wx/fontmap.h"
41 #include "wx/tokenzr.h"
43 #ifndef HANGUL_CHARSET
44 # define HANGUL_CHARSET 129
47 // ============================================================================
49 // ============================================================================
51 // ----------------------------------------------------------------------------
52 // wxNativeEncodingInfo
53 // ----------------------------------------------------------------------------
55 // ----------------------------------------------------------------------------
57 // ----------------------------------------------------------------------------
59 bool wxGetNativeFontEncoding(wxFontEncoding encoding
,
60 wxNativeEncodingInfo
*info
)
65 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
70 // ----------------------------------------------------------------------------
71 // wxFontEncoding <-> CHARSET_XXX
72 // ----------------------------------------------------------------------------
74 wxFontEncoding
wxGetFontEncFromCharSet(int cs
)
76 return wxFONTENCODING_SYSTEM
;