Added initial code changes to support Chinese Fonts

This commit is contained in:
Mark Vejvoda
2010-05-03 06:16:32 +00:00
parent 677da7f9d5
commit c3793d0cfb
6 changed files with 135 additions and 6 deletions

View File

@@ -61,6 +61,11 @@ public:
// Global Fcs
// =====================================================
// Example values:
// DEFAULT_CHARSET (English) = 1
// GB2312_CHARSET (Chinese) = 134
static DWORD charSet = DEFAULT_CHARSET;
void createGlFontBitmaps(uint32 &base, const string &type, int size, int width, int charCount, FontMetrics &metrics);
void createGlFontOutlines(uint32 &base, const string &type, int width, float depth, int charCount, FontMetrics &metrics);
const char *getPlatformExtensions(const PlatformContextGl *pcgl);