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