2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
4 <dir>/System/Library/Fonts</dir>
5 <dir>/Library/Fonts</dir>
6 <dir>~/Library/Fonts</dir>
8 <cachedir>~/.fontconfig</cachedir>
9 <cachedir prefix="xdg">fontconfig</cachedir>
12 Artificial oblique for fonts without an italic or oblique version
16 <!-- check to see if the font is roman -->
20 <!-- check to see if the pattern requested non-roman -->
21 <test target="pattern" name="slant" compare="not_eq">
24 <!-- multiply the matrix to slant the font -->
25 <edit name="matrix" mode="assign">
28 <matrix><double>1</double><double>0.2</double>
29 <double>0</double><double>1</double>
33 <!-- pretend the font is oblique now -->
34 <edit name="slant" mode="assign">
35 <const>oblique</const>
37 <!-- and disable embedded bitmaps for artificial oblique -->
38 <edit name="embeddedbitmap" mode="assign">
44 Synthetic emboldening for fonts that do not have bold face available
48 <!-- check to see if the font is just regular -->
49 <test name="weight" compare="less_eq">
52 <!-- check to see if the pattern requests bold -->
53 <test target="pattern" name="weight" compare="more">
58 needed for applications using cairo, e.g. gucharmap, gedit, ...
60 <edit name="embolden" mode="assign">
65 needed for applications using Xft directly, e.g. Firefox, ...
67 <edit name="weight" mode="assign">