]>
Commit | Line | Data |
---|---|---|
ffecfa5a JS |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: palmos/fontutil.cpp | |
3 | // Purpose: font-related helper functions | |
4 | // Author: William Osborne | |
5 | // Modified by: | |
6 | // Created: 10/13/04 | |
7 | // RCS-ID: $Id: | |
8 | // Copyright: (c) William Osborne | |
9 | // Licence: wxWindows licence | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | // ============================================================================ | |
13 | // declarations | |
14 | // ============================================================================ | |
15 | ||
16 | // ---------------------------------------------------------------------------- | |
17 | // headers | |
18 | // ---------------------------------------------------------------------------- | |
19 | ||
20 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) | |
21 | #pragma implementation "fontutil.h" | |
22 | #endif | |
23 | ||
24 | // For compilers that support precompilation, includes "wx.h". | |
25 | #include "wx/wxprec.h" | |
26 | ||
27 | #ifdef __BORLANDC__ | |
28 | #pragma hdrstop | |
29 | #endif | |
30 | ||
31 | #ifndef WX_PRECOMP | |
32 | #include "wx/string.h" | |
33 | #include "wx/log.h" | |
34 | #include "wx/intl.h" | |
35 | #include "wx/encinfo.h" | |
36 | #endif //WX_PRECOMP | |
37 | ||
38 | #include "wx/fontutil.h" | |
39 | #include "wx/fontmap.h" | |
40 | ||
41 | #include "wx/tokenzr.h" | |
42 | ||
43 | #ifndef HANGUL_CHARSET | |
44 | # define HANGUL_CHARSET 129 | |
45 | #endif | |
46 | ||
47 | // ============================================================================ | |
48 | // implementation | |
49 | // ============================================================================ | |
50 | ||
51 | // ---------------------------------------------------------------------------- | |
52 | // wxNativeEncodingInfo | |
53 | // ---------------------------------------------------------------------------- | |
54 | ||
55 | // ---------------------------------------------------------------------------- | |
56 | // helper functions | |
57 | // ---------------------------------------------------------------------------- | |
58 | ||
59 | bool wxGetNativeFontEncoding(wxFontEncoding encoding, | |
60 | wxNativeEncodingInfo *info) | |
61 | { | |
62 | return false; | |
63 | } | |
64 | ||
65 | bool wxTestFontEncoding(const wxNativeEncodingInfo& info) | |
66 | { | |
67 | return false; | |
68 | } | |
69 | ||
70 | // ---------------------------------------------------------------------------- | |
71 | // wxFontEncoding <-> CHARSET_XXX | |
72 | // ---------------------------------------------------------------------------- | |
73 | ||
74 | wxFontEncoding wxGetFontEncFromCharSet(int cs) | |
75 | { | |
76 | return wxFONTENCODING_SYSTEM; | |
77 | } |