[Bug 294490] Re: Some Kanji in KDE apps not displayed properly with en_US.UTF8, ok with ja_JP.UTF8

Doug Lloyd douglas.d.lloyd at gmail.com
Wed Jun 3 02:46:26 UTC 2009


This appears to be because fontconfig prefers the Chinese fonts due to the larger number of glyphs available.
This seems to be along the same lines: https://bugs.launchpad.net/bugs/222228
I have had luck working around this by using the following ~/.fonts.config:

<fontconfig>
    <match target="pattern" >
        <test name="family" qual="any" >
            <string>sans-serif</string>
        </test>
        <edit binding="strong" mode="prepend" name="family" >
            <string>DejaVu Sans</string>
            <string>Bitstream Vera Sans</string>
            <string>VL PGothic</string>
            <string>Kochi Gothic</string>
            <string>IPAMonaPGothic</string>
            <string>IPAPGothic</string>
            <string>Sazanami Gothic</string>
        </edit>
    </match>
    <match target="pattern" >
        <test name="family" qual="any" >
            <string>serif</string>
        </test>
        <edit binding="strong" mode="prepend" name="family" >
            <string>DejaVu Serif</string>
            <string>Bitstream Vera Serif</string>
            <string>Kochi Mincho</string>
            <string>IPAMonaPMincho</string>
            <string>IPAPMincho</string>
            <string>Sazanami Mincho</string>
        </edit>
    </match>
    <match target="pattern" >
        <test name="family" qual="any" >
            <string>monospace</string>
        </test>
        <edit binding="strong" mode="prepend" name="family" >
            <string>DejaVuSans Mono</string>
            <string>Bitstream Vera Sans Mono</string>
            <string>VL Gothic</string>
            <string>Kochi Gothic</string>
            <string>IPAMonaGothic</string>
            <string>IPAGothic</string>
            <string>Sazanami Gothic</string>
        </edit>
    </match>
    <dir>/home/doug/.fontmatrix</dir>
</fontconfig>

-- 
Some Kanji in KDE apps not displayed properly with en_US.UTF8, ok with ja_JP.UTF8
https://bugs.launchpad.net/bugs/294490
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.




More information about the kubuntu-bugs mailing list