查看完整版本: 装字体的一些心得

dzm1025 2008-6-4 10:52 PM

装字体的一些心得

看了很多字体贴,也安装过很多次字体,发现有些都说得不是很详尽,今天在这里整理一些心得,都是自己慢慢摸索出来的,希望对大家有用
首先是关于FontRouter.ini,我装的是字体驱动之后,在E盘,也就是存储卡的主目录里,出现了一个FontRouter.ini,这个显示出的是
; FontRouter LT Configuration File Example
; Comment line starts with ";".

[Global]
; Enable/Disable main function of FontRouter.
; Default: 1
;
Enable1
; Enable/Disable native font file (GDR) support.
; Default: 1
;
NativeFont1
; Log levels: 1 - Fatal, 2 - Error, 3 - Warning, 4 - Info, 5 - Debug
; Please remember to create folder "C:\Logs\FontRouter" before logging will begin to work.
; Default: 4
;
LogLevel4
; Force to enable anti-aliased bitmap type for TrueType font. (Only available on SymbianOS 7 or above)
;   0 - System default
;   1 - Prefer monochrome bitmap type
;   2 - Force to use monochrome bitmap type
;   3 - Prefer anti-aliased bitmap type
;   4 - Force to use anti-aliased bitmap type
;   5 - Prefer sub-pixel bitmap type
;   6 - Force to use sub-pixel bitmap type
; Default: 0
;
ForceAntiAliased3
; Fix font metrics (especially necessary for East-Asian language fonts)
;   0 - No fix to apply
;   1 - Simulate the style of built-in Chinese font from Nokia.
; Default: 0
;
FixFontMetrics1
; Fix character metrics automatically (for characters not fit the font metrics)
;   0 - No fix to apply
;   1 - Fix character metrics automatically
; Default: 0
;
FixCharMetrics0
; Disable font file. (full path or just file name)
;
;DisableFontFileZ:\Resource\Fonts\S60SC.ccc
;DisableFontFileS60TCHK.ccc

[FontMap]
;Customize font-map
;
;    %26lt;RequestFont>[SubstFont]
;
;        When SubstFont absent, FontRouter will bypass RequestFont and leave it to native Symbian font system.
;
;      RequestFont syntax:
;
;          [FontName[@FontHeight]]
;
;      SubstFont syntax:
;
;          FontName[@FontHeight[arameters]]
;
;        FontName syntax:
;
;            [%26lt;TypefaceName>  %26lt;FileName>  *]
;
;            "*" in RequestFont stands for all other fonts not listed in this configuration file.
;            "*" in SubstFont stands for the first available font outside ROM.
;
;        Parameters syntax:
;
;            A       Force anti-aliased
;            a       Force monochrome
;            B       Prefer bold
;            b       Prefer thin
;            I       Prefer italic
;            i       Prefer upright
;            Y%26lt;n>    Y adjust (n can be negative)
;            W%26lt;n>    Character gap adjust (n can be negative)
;            L%26lt;n>    (Experimental) Line gap adjust (n can be negative)
;
;    Examples:
;
;        Sans MT 936_S60*
;        Sans MT [email936_S60@11Microsoft]936_S60@11Microsoft[/email] YaHei
;        Sans MT [email936_S60@12Microsoft]936_S60@12Microsoft[/email] [emailYaHei@15:Y-1]YaHei@15:Y-1[/email]
;        Sans MT [email936_S60@24FZLiBian-S02:W1]936_S60@24FZLiBian-S02:W1[/email]
;        Sans MT [email936_S60@30]936_S60@30[/email]
;
; Common
**
*
; For S60 3rd
Series 60 ZDigi
; For UIQ3
Monospaced
Eikon
Symbol
Calc
Calcinv
Digital
其中找出FixCharMetrics0改成FixCharMetrics1,ForceAntiAliased4改为ForceAntiAliased3其他不变,保存
然后我们把下载好的字体文件放到E:\resource\fonts,比如FZZhunYuan-M02.ttf,然后把另外一个关于字体的FontRouter.ini,也就是下面那个
[Global]
Enable1
LogLevel1
ForceAntiAliased4
FixFontMetrics1
DisableFontFileZ:\Resource\Fonts\s60sc.ccc
;DisableFontFileZ:\Resource\Fonts\FZZhunYuan-M02.ttf  
DisableFontFileZ:\Resource\Fonts\s60tchk.ccc
;DisableFontFileZ:\resource\fonts\S60ZDIGI.ttf
[FontMap]
Sans MT 936_S60FZZhunYuan-M02:Y4
Series 60 ZDigiFZZhunYuan-M02:Y4
System OneFZZhunYuan-M02:Y4
把ForceAntiAliased4改为ForceAntiAliased3
放到FONTS文件夹里面,关机重启,就可以了
最后,下次假如要更换字体时,把
;DisableFontFileZ:\Resource\Fonts\FZZhunYuan-M02.ttf  改为;DisableFontFileZ:\Resource\Fonts\***.ttf  (***.ttf为更改后的字体
Sans MT 936_S60***:Y4
Series 60 ZDigi***:Y4
System One***:Y4
ForceAntiAliased4改为ForceAntiAliased3是为了防止外屏花屏



skcheng521 2008-6-4 10:52 PM

  



lili5506688 2008-6-4 10:52 PM

FixCharMetrics0改成FixCharMetrics1
这是为什么



flygrse 2008-6-4 10:53 PM

这是防止字体剃头剃尾的现象



wx9use 2008-6-4 10:53 PM

页: [1]
查看完整版本: 装字体的一些心得