Petr Gajdos
3b9f45d6fa
- turn off autohinter for Verdana again, which implies using BCI with hintstyle=3 [bnc#737215], [bnc#781631] - updated to 2.10.0: * /etc/fonts/conf.avail is deprecated and is packaged only for compatibility reasons; package should install its *.conf files in its data dir and link it into /etc/fonts/conf.d as usual * introduced warning -- <alias> should not contain more <family>s * introduced warning -- <test> should not contain more values * introduced warning -- reading configurations from ~/.fonts.conf is deprecated; move ~/.fonts.conf into $XDG_CONFIG_HOME/fontconfig/fonts.conf (the same for ~/.fonts.conf.d, see http://freedesktop.org/software/fontconfig/fontconfig-user.html) OBS-URL: https://build.opensuse.org/request/show/135611 OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=90
183 lines
5.0 KiB
XML
183 lines
5.0 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
<fontconfig>
|
|
|
|
<!-- Default setup of hintstyle -->
|
|
|
|
<!--
|
|
bug#722427
|
|
general advice: use hintfull for BCI, hintlight for autohinter
|
|
exceptions will follow
|
|
-->
|
|
<match target="font">
|
|
<test name="autohint">
|
|
<bool>false</bool>
|
|
</test>
|
|
<edit name="hintstyle">
|
|
<const>hintfull</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="font">
|
|
<test name="autohint">
|
|
<bool>true</bool>
|
|
</test>
|
|
<edit name="hintstyle">
|
|
<const>hintslight</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<!--
|
|
exceptions:
|
|
-->
|
|
|
|
<!-- Following fonts seems to be nicer (thicker) with hintslight instead
|
|
of hintfull:
|
|
|
|
Liberation Sans
|
|
DejaVu Sans
|
|
Droid Sans
|
|
Liberation Serif
|
|
DejaVu Serif
|
|
Droid Serif
|
|
|
|
Following are better to render with hintfull, because they are too
|
|
blurred with hintslight:
|
|
|
|
Liberation Mono
|
|
DejaVu Sans Mono
|
|
Droid Sans Mono
|
|
-->
|
|
|
|
<match target="font">
|
|
<test name="family">
|
|
<string>Liberation Sans</string>
|
|
</test>
|
|
<edit name="hintstyle" mode="assign">
|
|
<const>hintslight</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="font">
|
|
<test name="family">
|
|
<string>DejaVu Sans</string>
|
|
</test>
|
|
<edit name="hintstyle" mode="assign">
|
|
<const>hintslight</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="font">
|
|
<test name="family">
|
|
<string>Droid Sans</string>
|
|
</test>
|
|
<edit name="hintstyle" mode="assign">
|
|
<const>hintslight</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="font">
|
|
<test name="family">
|
|
<string>Liberation Serif</string>
|
|
</test>
|
|
<edit name="hintstyle" mode="assign">
|
|
<const>hintslight</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="font">
|
|
<test name="family">
|
|
<string>DejaVu Serif</string>
|
|
</test>
|
|
<edit name="hintstyle" mode="assign">
|
|
<const>hintslight</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="font">
|
|
<test name="family">
|
|
<string>Droid Serif</string>
|
|
</test>
|
|
<edit name="hintstyle" mode="assign">
|
|
<const>hintslight</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<!-- Cantarell: according to coauthor, cantarell doesn't have
|
|
any byte code, so following should give the best results
|
|
on most monitors -->
|
|
|
|
<match target="font">
|
|
<test name="family">
|
|
<string>Cantarell</string>
|
|
</test>
|
|
<edit name="autohint" mode="assign">
|
|
<bool>true</bool>
|
|
</edit>
|
|
<edit name="hintstyle" mode="assign">
|
|
<const>hintfull</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<!-- IPA* fonts: setting hintstyle=hintnone for now, IPA font
|
|
setting should be improved in the future [bnc#766319]
|
|
We are using fullname element instead of family, because
|
|
some programs may use Japanese name instead, which would
|
|
double this list, when using family element. See comment
|
|
47 and 48 of referred bug. -->
|
|
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAexGothic</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAexMincho</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAGothic BoldItalic</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAGothic Bold</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAGothic Italic</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAGothic</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAMincho</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAPGothic BoldItalic</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAPGothic Bold</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAPGothic Italic</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAPGothic</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAPMincho</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
<match target="font">
|
|
<test name="fullname"><string>IPAUIGothic</string></test>
|
|
<edit name="hintstyle"><const>hintnone</const></edit>
|
|
</match>
|
|
|
|
</fontconfig>
|