Consistent, proper CJK support
This commit is contained in:
parent
45e4a578a9
commit
191afb3524
|
@ -59,7 +59,7 @@ class Language
|
|||
], 9
|
||||
),
|
||||
:ja => Language.new(
|
||||
'VL Gothic', [
|
||||
'WenQuanYi Micro Hei', [
|
||||
"あ","い","う","え","お",
|
||||
"か","き","く","け","こ",
|
||||
"さ","し","す","せ","そ",
|
||||
|
@ -102,7 +102,7 @@ class Language
|
|||
], 9
|
||||
),
|
||||
:ko => Language.new(
|
||||
'Baekmuk Dotum', [
|
||||
'WenQuanYi Micro Hei', [
|
||||
"가","개","갸","거","게",
|
||||
"겨","고","교","구","규",
|
||||
"그","기","나","내","냐",
|
||||
|
|
|
@ -476,7 +476,7 @@ static void fontSetEnumCB(void *data, const char *,
|
|||
lowExt[i] = tolower(ext[i]);
|
||||
lowExt[i] = '\0';
|
||||
|
||||
if (strcmp(lowExt, "ttf") && strcmp(lowExt, "otf"))
|
||||
if (strcmp(lowExt, "ttf") && strcmp(lowExt, "otf") && strcmp(lowExt, "ttc"))
|
||||
return;
|
||||
|
||||
char filename[512];
|
||||
|
|
Loading…
Reference in New Issue