2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
5 <cachedir>~/.fontconfig</cachedir>
6 <cachedir prefix="xdg">fontconfig</cachedir>
9 Artificial oblique for fonts without an italic or oblique version
13 <!-- check to see if the font is roman -->
17 <!-- check to see if the pattern requested non-roman -->
18 <test target="pattern" name="slant" compare="not_eq">
21 <!-- multiply the matrix to slant the font -->
22 <edit name="matrix" mode="assign">
25 <matrix><double>1</double><double>0.2</double>
26 <double>0</double><double>1</double>
30 <!-- pretend the font is oblique now -->
31 <edit name="slant" mode="assign">
32 <const>oblique</const>
34 <!-- and disable embedded bitmaps for artificial oblique -->
35 <edit name="embeddedbitmap" mode="assign">
41 Synthetic emboldening for fonts that do not have bold face available
45 <!-- check to see if the font is just regular -->
46 <test name="weight" compare="less_eq">
49 <!-- check to see if the pattern requests bold -->
50 <test target="pattern" name="weight" compare="more">
55 needed for applications using cairo, e.g. gucharmap, gedit, ...
57 <edit name="embolden" mode="assign">
62 needed for applications using Xft directly, e.g. Firefox, ...
64 <edit name="weight" mode="assign">