]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/fontutil.cpp
make it possible to create wxWindowDC for a hidden window
[wxWidgets.git] / src / palmos / fontutil.cpp
CommitLineData
ffecfa5a 1///////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/fontutil.cpp
ffecfa5a 3// Purpose: font-related helper functions
e2731512 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e2731512 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
ffecfa5a
JS
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
55bool wxGetNativeFontEncoding(wxFontEncoding encoding,
56 wxNativeEncodingInfo *info)
57{
58 return false;
59}
60
61bool wxTestFontEncoding(const wxNativeEncodingInfo& info)
62{
63 return false;
64}
65
66// ----------------------------------------------------------------------------
67// wxFontEncoding <-> CHARSET_XXX
68// ----------------------------------------------------------------------------
69
70wxFontEncoding wxGetFontEncFromCharSet(int cs)
71{
72 return wxFONTENCODING_SYSTEM;
73}