Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » It's suspected to be an issue with Font.
Re: It's suspected to be an issue with Font. [message #32308 is a reply to message #32307] |
Sat, 07 May 2011 17:39 |
Lance
Messages: 527 Registered: March 2007
|
Contributor |
|
|
Sorry but it's getting more complicated than we had expected.
I did test on another Windows XP machine. Here is the font replacement table:
struct sRFace {
const char *name;
dword l, h;
} sFontReplacements[] = {
{ "sans-serif", 0xffee0008, 0xdc000801 },
{ "Arial", 0xfffe0000, 0x09c00080 },
{"\346\226\260\345\256\213\344\275\223", 0xfd800000, 0x09ffff00 },//SimSun (or New Song Ti)
{"\345\256\213\344\275\223", 0xfd800000, 0x09ffff00 }, // Song Ti
{"\345\276\256\350\275\257\351\233\205\351\273\221", 0xfd800000, 0x09ffff00 }, //MS Ya Hei
{"\351\273\221\344\275\223", 0xfd800000, 0x09ffff00 }, // Hei Ti
{ "Arial Unicode MS", 0xfffc3fef, 0xfa7ff7e7 },
{ "SimSun", 0xfd800000, 0x09ffff00 },
{ "MS UI Gothic", 0xffc01008, 0x0fffff00 },
{ "MS Mincho", 0xffc01008, 0x0fffff00 },
{ "WenQuanYi Zen Hei Mono", 0xfd800000, 0x0ae7ff7e },
{ "WenQuanYi Zen Hei", 0xfd800000, 0x0ae7ff7e },
{ "VL Gothic", 0xfd800000, 0x09a7ff80 },
{ "VL PGothic", 0xffe00008, 0x0de7ff80 },
{ "UnDotum", 0xe5800000, 0x0aa7ff7e },
{ "UnBatang", 0xe5800000, 0x0aa7ff7e },
{ "DejaVu Sans Mono", 0xffec0004, 0x0fc00080 },
{ "DejaVu Sans", 0xfffd000c, 0x0fc40080 },
{ "AlArabiyaFreeSerif", 0xffdc0008, 0xd8000007 },
{ "Kochi Mincho", 0xffdc0008, 0xd8000007 },
{ "Kochi Gothic", 0xffdc0008, 0xd8000007 },
{ "Sazanami Mincho", 0xffdc0008, 0xd8000007 },
{ "Sazanami Gothic", 0xffdc0008, 0xd8000007 },
{ "Gulim", 0xf7c00000, 0x0ba7ff7e },
{ "PMingLiU", 0xff800000, 0x09ffff00 },
{ "FreeSans", 0xfff23d00, 0x0fc00000 },
{ "FreeSerif", 0xfffd3938, 0x0fc00080 },
{ "Symbol", 0xe4000000, 0x88000002 },
};
Here is the result of font enumeration on the machine:
STDFONT
Times New Roman
Arial
Courier New
Symbol
Wingdings
Tahoma
System
Terminal
Fixedsys
Roman
Script
Modern
Small Fonts
MS Serif
WST_Czec
WST_Engl
WST_Fren
WST_Germ
WST_Ital
WST_Span
WST_Swed
Courier
MS Sans Serif
Marlett
Lucida Console
Lucida Sans Unicode
Verdana
Arial Black
Comic Sans MS
Impact
Georgia
Franklin Gothic Medium
Palatino Linotype
Trebuchet MS
Webdings
Estrangelo Edessa
Gautami
Latha
Mangal
MV Boli
Raavi
Shruti
Tunga
Sylfaen
Microsoft Sans Serif
Arial Unicode MS
Book Antiqua
Bookman Old Style
Century
Century Gothic
Garamond
MS Outlook
Wingdings 2
Wingdings 3
MS Reference Sans Serif
MS Reference Specialty
方正舒体
方正姚体
华文彩云
华文细黑
华文行楷
华文新魏
华文中宋
隶书
宋体-方正超大字符集
幼圆
Haettenschweiler
Bookshelf Symbol 7
Bitstream Vera Sans
Bitstream Vera Serif
Bitstream Vera Sans Mono
Myriad Web Pro
Myriad Web Pro Condensed
Arial Narrow
Kartika
Vrinda
Lucida Sans
Free 3 of 9 Extended
Free 3 of 9
DejaVu Sans Condensed
DejaVu Serif
DejaVu Serif Condensed
DejaVu Sans Mono
DejaVu Sans
DejaVu Sans Light
OpenSymbol
MS Mincho
MS PMincho
MS Gothic
MS PGothic
MS UI Gothic
Gulim
GulimChe
Dotum
DotumChe
Batang
BatangChe
Gungsuh
GungsuhChe
宋体 <----- This is Song Ti
新宋体 <------ This is SimSun
宋体-PUA
黑体
MingLiU
PMingLiU
微软雅黑
f.GetFaceName() = Arial Unicode MS
f.GetFaceName() = Arial Unicode MS
f.GetFaceName() = Arial Unicode MS
f.GetFaceName() = Arial Unicode MS
And here is the font substitution report:
f.GetFaceName() = Arial Unicode MS
f.GetFaceName() = MS UI Gothic
f.GetFaceName() = Arial Unicode MS
f.GetFaceName() = Arial Unicode MS
And the text use to generate the substitution result is 颜色不错.
SimSun and Song Ti are skipped even though the font are present in the system and they are supposed to take precedence over Arial Unicode MS and MS UI Gothic. The more weired thing is it works just fine on Windows Vista and Ubuntu. Will do a test on a Windows 7 Machine.
|
|
|
|
|
It's suspected to be an issue with Font.
By: Lance on Fri, 18 March 2011 23:50
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sun, 10 April 2011 14:42
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 12 April 2011 14:03
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 12 April 2011 15:19
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 16 April 2011 20:54
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 16 April 2011 21:02
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 16 April 2011 21:21
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Wed, 20 April 2011 22:07
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Wed, 20 April 2011 22:30
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 30 April 2011 10:37
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sun, 01 May 2011 17:23
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sun, 01 May 2011 17:35
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sun, 01 May 2011 19:41
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Mon, 02 May 2011 07:07
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Mon, 02 May 2011 15:58
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Mon, 02 May 2011 16:11
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Mon, 02 May 2011 20:07
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 03 May 2011 14:48
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 03 May 2011 14:50
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 03 May 2011 14:52
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Thu, 05 May 2011 18:46
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Fri, 06 May 2011 10:05
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Fri, 06 May 2011 10:36
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Fri, 06 May 2011 14:59
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Fri, 06 May 2011 17:51
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Fri, 06 May 2011 19:18
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 03:42
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 04:00
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 05:19
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 06:01
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 07 May 2011 08:30
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 14:59
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 15:29
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 17:39
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 19:47
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 20:41
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 23:10
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 23:25
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Mon, 09 May 2011 05:55
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Fri, 13 May 2011 12:30
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 14 May 2011 23:54
|
Goto Forum:
Current Time: Fri May 10 00:41:19 CEST 2024
Total time taken to generate the page: 0.01904 seconds
|