VLGothic-fonts fontconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since we are planning to change the default Japanese font in F9 to VLGothic-fonts, I thought I would post the current fontconfig files here for review and comments.

Do they look ok?

Thanks, Jens

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <match target="font">
        <test name="family">
            <string>VL Gothic</string>
        </test>
        <edit name="hinting" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
    
    <match target="pattern">
        <test name="family">
            <string>monospace</string>
        </test>
        <test name="lang" compare="contains">
            <string>jp</string>
        </test>
        <edit name="lang" mode="prepend" binding="strong">
            <string>en</string>
        </edit>
    </match>

    <alias>
        <family>monospace</family>
        <prefer>
            <family>DejaVu Sans Mono</family>
            <family>VL Gothic</family>
        </prefer>
    </alias>
</fontconfig>
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <match target="font">
        <test name="family">
            <string>VL PGothic</string>
        </test>
        <edit name="hinting" mode="assign">
            <bool>false</bool>
        </edit>
    </match>

    <match target="pattern">
        <test name="family">
            <string>sans-serif</string>
        </test>
        <test name="lang" compare="contains">
            <string>jp</string>
        </test>
        <edit name="lang" mode="prepend" binding="strong">
            <string>en</string>
        </edit>
    </match>

    <alias>
        <family>sans-serif</family>
        <prefer>
            <family>DejaVu Sans</family>
            <family>VL PGothic</family>
        </prefer>
    </alias>
</fontconfig>
_______________________________________________
Fedora-fonts-list mailing list
Fedora-fonts-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-fonts-list

[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux