1.设置项目的注册表project.reg的[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/FontPath]和[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/FontLink/SystemLink]键值,如:
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/FontPath]
"FontPath"="//Boot Disk"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/FontLink/SystemLink]
"Tahoma"="//Boot Disk//simsun.ttc,NSimSun"
"Courier New"="//Boot Disk//simsun.ttc,NSimSun"
"Arial"="//Boot Disk//simsun.ttc,NSimSun"
"Times New Roman"="//Boot Disk//simsun.ttc,NSimSun"
"Symbol"=//Boot Disk//simsun.ttc,NSimSun
其中/Boot Disk为字库文件所在目录。
2.将D:/WINCE500/PUBLIC/COMMON/OAK/FILES下的simsun.ttc复制到相应分区(即/Boot Disk),多个字库,可使用;号隔开。例如:
"Tahoma"="//Boot Disk //Windows//simsun.ttc,NSimSun; //Boot Disk //Windows//mingliu.ttc,PMingLiU"