- updates to Chinese font support so Linux will compile

- added more debugging and NULL guards
This commit is contained in:
Mark Vejvoda
2010-05-03 06:25:54 +00:00
parent c3793d0cfb
commit 1efc2dc0a6
13 changed files with 207 additions and 62 deletions

View File

@@ -64,7 +64,11 @@ public:
// Example values:
// DEFAULT_CHARSET (English) = 1
// GB2312_CHARSET (Chinese) = 134
#ifdef WIN32
static DWORD charSet = DEFAULT_CHARSET;
#else
static int charSet = 1;
#endif
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);