]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/fontutil.cpp
assigning line marker to itself shouldn't invalidate it, add self-assignment check
[wxWidgets.git] / src / palmos / fontutil.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/fontutil.cpp
3 // Purpose: font-related helper functions
4 // Author: William Osborne - minimal working wxPalmOS port
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 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #ifndef WX_PRECOMP
28 #include "wx/string.h"
29 #include "wx/log.h"
30 #include "wx/intl.h"
31 #include "wx/encinfo.h"
32 #endif //WX_PRECOMP
33
34 #include "wx/fontutil.h"
35 #include "wx/fontmap.h"
36
37 #include "wx/tokenzr.h"
38
39 #ifndef HANGUL_CHARSET
40 # define HANGUL_CHARSET 129
41 #endif
42
43 // ============================================================================
44 // implementation
45 // ============================================================================
46
47 // ----------------------------------------------------------------------------
48 // wxNativeEncodingInfo
49 // ----------------------------------------------------------------------------
50
51 // ----------------------------------------------------------------------------
52 // helper functions
53 // ----------------------------------------------------------------------------
54
55 bool wxGetNativeFontEncoding(wxFontEncoding encoding,
56 wxNativeEncodingInfo *info)
57 {
58 return false;
59 }
60
61 bool wxTestFontEncoding(const wxNativeEncodingInfo& info)
62 {
63 return false;
64 }
65
66 // ----------------------------------------------------------------------------
67 // wxFontEncoding <-> CHARSET_XXX
68 // ----------------------------------------------------------------------------
69
70 wxFontEncoding wxGetFontEncFromCharSet(int cs)
71 {
72 return wxFONTENCODING_SYSTEM;
73 }