Re: New IPA fonts in OBS M17N:Devel repo
Mike FABIAN <[email protected]>
| Newsgroups | gmane.linux.suse.m17n |
|---|---|
| Organization | Tomorrow we've got to get organized |
| Message-ID | <[email protected]> |
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? Don't the new fonts match the "dual"? -- Mike FABIAN <[email protected]> 睡眠不足はいい仕事の敵だ。 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]