2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
6 <test name="scalable" compare="eq">
9 <edit name="pixelsizefixupfactor" mode="assign">
11 <name target="pattern">pixelsize</name>
12 <name target="font" >pixelsize</name>
17 <test name="scalable" compare="eq">
20 <edit name="scalingnotneeded" mode="assign">
23 <name>pixelsizefixupfactor</name>
27 <name>pixelsizefixupfactor</name>
34 So far we determined the scale factor. Now, check and if
35 scaling is NOT desirable, just reset the scale factor to 1.0.
38 <test name="scalable" compare="eq">
41 <test name="pixelsize" target="pattern" compare="less">
44 <test name="hinting" compare="eq">
47 <test name="scalingnotneeded" compare="eq">
50 <edit name="pixelsizefixupfactor" mode="assign">
55 If we *are* going to scale, go ahead and do it.
58 <test name="scalable" compare="eq">
61 <test name="pixelsizefixupfactor" compare="not_eq">
64 <edit name="matrix" mode="assign">
68 <name>pixelsizefixupfactor</name> <double>0</double>
69 <double>0</double> <name>pixelsizefixupfactor</name>
73 <edit name="size" mode="assign">
76 <name>pixelsizefixupfactor</name>