Re: New IPA fonts in OBS M17N:Devel repo
Takashi Iwai <[email protected]>
| Newsgroups | gmane.linux.suse.m17n |
|---|---|
| Message-ID | <s5h63eb5j0a.wl%[email protected]> |
At Thu, 02 Jul 2009 14:08:43 +0200, Mike FABIAN wrote: > > Takashi Iwai <[email protected]> : > > > I pursued this problem a bit more. A bad news is that it's actually > > no Qt3-issue but rather about fontconfig / freetype. > > A good news is that there is already a workaround for such a problem. > > Simply setting globaladvance to false for these fonts should suffice. > > I didn't yet have time to check the new fonts. But I > did already set globaladvance to false for all CJK dual-width > fonts in /etc/fonts/suse-pre-user.conf: > > <!-- > The dual-width Asian fonts (spacing=dual) are not rendered correctly, > apparently Xft 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> > > Wasn't this enough? Apparently not. > Don't the new fonts match the "dual"? Doesn't look so. fc-list gives no fonts with dual spacing. Takashi -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]