Hi there, Just trying to clear my confusion. In original mail, the modification of fonts.conf shows an edit clause on "globaladvance" with binding="strong". I don't know what effect will the strong-binding bring. I dug source codes of fontconfig some time ago, AFAIK, strong-binding only make family name priorer than lang. Is things changed a lot? Thanks for any hint. Xie Qian Open System and Chinese Information Processing Center, Institute of Software, Chinese Academy of Sciences, P.O. Box 8718, Beijing 100080, CHINA ----- Original Message ----- From: "Mike FABIAN" <mfabian@xxxxxxx> To: "Ambrose Li" <acli@xxxxxxxxxxx> Cc: "Keith Packard" <keithp@xxxxxxxxxx>; <fontconfig@xxxxxxxxxxxxxx> Sent: Wednesday, June 29, 2005 9:58 PM Subject: Re: How to disable the "global advance" for CJK fonts? > Ambrose Li <acli@xxxxxxxxxxx> さんは書きました: > > > Some time ago, iirc, someone else proposed on this list that global > > advance be turned off by default for all CJK fonts; from what I > > observe that would be an entirely reasonable thing, and I'd like to > > know any technical reason why that should not be the case. > > Currently I use the following workaround, which seems to work OK: > > <!-- > The dual-width Asian fonts (spacing=dual) are not rendered correctly, > apparently FreeType forces all widths to match. Trying to disable the > width forcing code by setting globaladvance=false alone doesn't help. > As a brute force workaround, also set spacing=proportional, i.e. handle > them as proportional fonts: > --> > > <match target="font"> > <test name="lang" compare="contains"> > <string>ja</string> > <string>zh</string> > <string>ko</string> > </test> > <test name="spacing" compare="eq"> > <const>dual</const> > </test> > <edit name="spacing"> > <const>proportional</const> > </edit> > <edit name="globaladvance" binding="strong"> > <bool>false</bool> > </edit> > </match> > > -- > Mike FABIAN <mfabian@xxxxxxx> http://www.suse.de/~mfabian > 睡眠不足はいい仕事の敵だ。 > > _______________________________________________ > fontconfig mailing list > fontconfig@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/fontconfig >