Wince font changing method (wince font updating) favorites
Wince font changing method (wince font updating)
Author: Lai yuping (auly) aulyp@163.com
Update the system font family: for example, you need to add the font support in wince5.0.
Step 1: Add the following registry
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ fontpath]
"Fontpath" = "\ Windows"; directory of the font file
[HKEY_LOCAL_MACHINE \ SYSTEM \ GDI]
"Fontlinkmethods" = DWORD: 1
[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"
Step 2: Add a font library to the bib File
Simsun. TTC $ (_ winceroot) \ public \ common \ oak \ files \ simsun. ttc nk Shu
Step 3: Make OK
Font storage path change:
Because the font is placed in NK and the size is too large, you can place the font in the SD card or NAND Flash according to the following steps.
Step 1: Modify the Registry as follows. The red part is changed to the font, so the path is
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ fontpath]
"Fontpath" = "\ Windows"; directory of the font file
[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
Step 2: delete the font library in the bib file to avoid being compiled into the kernel
; Simsun. TTC $ (_ winceroot) \ public \ common \ oak \ files \ simsun. ttc nk Shu
Step 3: Make OK
Problems: the font library in the SD card can be copied in advance, but how to copy the font in the NAND Flash should be taken into consideration during the upgrade.
(Thanks to Terry Zhou for providing information)
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/ok138ok/archive/2009/07/18/4359468.aspx