请教在使用 SimSun & NSimSun (Subset 2_20)时候如何正常显示汉字?
[复制链接]
请教在使用 SimSun & NSimSun (Subset 2_20)时候如何正常显示汉字?
1.
目前我在platfrombuilder4.2 里面已经加了SimSun & NSimSun (Subset 2_20)
2.platform.reg里面我也加了
[HKEY_LOCAL_MACHINE\SYSTEM\GDI\GLYPHCACHE]
"limit"=dword:5000
[HKEY_LOCAL_MACHINE\SYSTEM\GDI]
"FontLinkMethods"=dword:1
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]
"Tahoma"="\\Windows\\simsun_2_20.ttf,NSimSun"
"Courier New"="\\Windows\\simsun_2_20.ttf,NSimSun"
"Arial"="\\Windows\\simsun_2_20.ttf,NSimSun"
"Times New Roman"="\\Windows\\simsun_2_20.ttc,NSimSun"
"Symbol"="\\Windows\\simsun_2_20.ttf,NSimSun"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SkipTable]
"Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"
"Arial"="005c"
"Courier New"="005c"
3 目前看到 在\Windows目录,simsun_2_20.ttf 已经存在
4 用Remote Regidtry Editor观察,注册表值也已经添加成功
5 但是还是显示是 方框(乱码)
6 common.reg里面我看了下就是没有 FONTS_SIMSUN_2_20,很奇怪
; @CESYSGEN IF FONTS_SIMSUN || FONTS_SIMSUN_2_50 || FONTS_SIMSUN_2_60 || FONTS_SIMSUN_2_70 || FONTS_SIMSUN_2_80 || FONTS_SIMSUN_2_90
[HKEY_LOCAL_MACHINE\SYSTEM\GDI\GLYPHCACHE]
"limit"=dword:5000
[HKEY_LOCAL_MACHINE\SYSTEM\GDI]
"FontLinkMethods"=dword:1
; @CESYSGEN IF !GWES_DECOMPDRV
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]
"Tahoma"="\\Windows\\simsun.ttc,NSimSun"
"Courier New"="\\Windows\\simsun.ttc,NSimSun"
"Arial"="\\Windows\\simsun.ttc,NSimSun"
"Times New Roman"="\\Windows\\simsun.ttc,NSimSun"
"Symbol"="\\Windows\\simsun.ttc,NSimSun"
; @CESYSGEN ENDIF !GWES_DECOMPDRV
; @CESYSGEN IF GWES_DECOMPDRV
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]
"Tahoma"="\\Windows\\simsun.ac3,NSimSun"
"Courier New"="\\Windows\\simsun.ac3,NSimSun"
"Arial"="\\Windows\\simsun.ac3,NSimSun"
"Times New Roman"="\\Windows\\simsun.ac3,NSimSun"
"Symbol"="\\Windows\\simsun.ac3,NSimSun"
; @CESYSGEN ENDIF GWES_DECOMPDRV
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SkipTable]
"Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"
"Arial"="005c"
"Courier New"="005c"
; @CESYSGEN ENDIF FONTS_SIMSUN