减少windows CE内核的大小 将字体文件放入SD卡中

将汉字库移到SDCard中,修改注册表如下,同时将common.bib中simsun.ttc注释掉,使不包含到img中。
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/FontPath]
    "FontPath" = "//SDCard"
[HKEY_LOCAL_MACHINE/System/GDI]
    "FontLinkMethods" =dword:1
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/FontLink/SystemLink]
      "Tahoma"="//SDCard//simsun.ttc,NSimSun"
      "Courier New"="//SDCard//simsun.ttc,NSimSun"
      "Arial"="//SDCard//simsun.ttc,NSimSun"
      "Times New Roman"="//SDCard//simsun.ttc,NSimSun"
      "Symbol"= //SDCard//simsun.ttc,NSimSun
再将simsum.ttl考到SD卡的根目录下即可.这样可节约很多RAM 

你可能感兴趣的:(windows)