diff options
Diffstat (limited to 'testing/otf-cantarell/90-non-tt-cantarell.conf')
-rw-r--r-- | testing/otf-cantarell/90-non-tt-cantarell.conf | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/otf-cantarell/90-non-tt-cantarell.conf b/testing/otf-cantarell/90-non-tt-cantarell.conf new file mode 100644 index 0000000000..081668b68e --- /dev/null +++ b/testing/otf-cantarell/90-non-tt-cantarell.conf @@ -0,0 +1,50 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <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>hintslight</const> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + </match> + + <match target="font"> + <test name="family"> + <string>Cantarell</string> + </test> + <test name="weight" compare="less"> + <const>medium</const> + </test> + <test name="pixelsize" compare="more"> + <double>10.5</double> + </test> + <test name="pixelsize" compare="less"> + <double>13.5</double> + </test> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintfull</const> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + </match> + +</fontconfig> |