|
Smirftsch
|
Fixed TTFImport and added some Texture replacement function which replaces Fonts regarding the language corresponding engine.[localized] file. So it can be easily a font-texture created with TTFontImport to replace the ingame whitefont, medfont, largefont, bigfont with a fontset which supports the necessary chars. Also created a new UWindowFonts.utx which should contain most needed chars directly.
Also added an import flag for "Charset", while the charset list is the following (out of WinGDI.h):
#define ANSI_CHARSET 0 #define DEFAULT_CHARSET 1 #define SYMBOL_CHARSET 2 #define SHIFTJIS_CHARSET 128 #define HANGEUL_CHARSET 129 #define HANGUL_CHARSET 129 #define GB2312_CHARSET 134 #define CHINESEBIG5_CHARSET 136 #define OEM_CHARSET 255 #define JOHAB_CHARSET 130 #define HEBREW_CHARSET 177 #define ARABIC_CHARSET 178 #define GREEK_CHARSET 161 #define TURKISH_CHARSET 162 #define VIETNAMESE_CHARSET 163 #define THAI_CHARSET 222 #define EASTEUROPE_CHARSET 238 #define RUSSIAN_CHARSET 204
using the import like this: new TrueTypeFontFactory PACKAGE="UWindowFonts" Name=Tahoma10 FontName="Tahoma" Height=10 AntiAlias=0 Charset=204
|