2 <dir>C:\windows\fonts</dir>
3 <cachedir>~/AppData/Local/Temp/fontconfig</cachedir>
6 Artificial oblique for fonts without an italic or oblique version
10 <!-- check to see if the font is roman -->
14 <!-- check to see if the pattern requested non-roman -->
15 <test target="pattern" name="slant" compare="not_eq">
18 <!-- multiply the matrix to slant the font -->
19 <edit name="matrix" mode="assign">
22 <matrix><double>1</double><double>0.2</double>
23 <double>0</double><double>1</double>
27 <!-- pretend the font is oblique now -->
28 <edit name="slant" mode="assign">
29 <const>oblique</const>
31 <!-- and disable embedded bitmaps for artificial oblique -->
32 <edit name="embeddedbitmap" mode="assign">
38 Synthetic emboldening for fonts that do not have bold face available
42 <!-- check to see if the font is just regular -->
43 <test name="weight" compare="less_eq">
46 <!-- check to see if the pattern requests bold -->
47 <test target="pattern" name="weight" compare="more">
52 needed for applications using cairo, e.g. gucharmap, gedit, ...
54 <edit name="embolden" mode="assign">
59 needed for applications using Xft directly, e.g. Firefox, ...
61 <edit name="weight" mode="assign">