2 <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
4 <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5 <its:translateRule selector="/fontconfig/*[not(self::description)]" translate="no"/>
8 Artificial oblique for fonts without an italic or oblique version
11 <!-- check to see if the font is roman -->
15 <!-- check to see if the pattern requested non-roman -->
16 <test target="pattern" compare="not_eq" name="slant">
19 <!-- multiply the matrix to slant the font -->
20 <edit name="matrix" mode="assign">
31 <!-- pretend the font is oblique now -->
32 <edit name="slant" mode="assign">
33 <const>oblique</const>
35 <!-- and disable embedded bitmaps for artificial oblique -->
36 <edit name="embeddedbitmap" mode="assign">
41 Synthetic emboldening for fonts that do not have bold face available
44 <!-- check to see if the weight in the font is less than medium which possibly need emboldening -->
45 <test compare="less_eq" name="weight">
48 <!-- check to see if the pattern requests bold -->
49 <test target="pattern" compare="more_eq" name="weight">
54 needed for applications using cairo, e.g. gucharmap, gedit, ...
56 <edit name="embolden" mode="assign">
61 needed for applications using Xft directly, e.g. Firefox, ...
63 <edit name="weight" mode="assign">
68 <edit name="rgba" mode="assign">
74 <edit name="hinting" mode="assign">
79 <edit name="hintstyle" mode="assign">
80 <const>hintfull</const>