summaryrefslogtreecommitdiff
path: root/fc-cat/fc-cat.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-12-30 19:08:42 -0600
committerBehdad Esfahbod <behdad@behdad.org>2012-12-30 19:08:42 -0600
commit1fbb0b3b15774c187c697a80fb3c89bc1f3e0006 (patch)
treea8f40a45e26e532701922992544e7fafb04d823b /fc-cat/fc-cat.c
parent51b0044648e00025cf20014b19aaceed7beeed75 (diff)
Don't warn if an unknown element is used in an expression
The type will be resolved at runtime... For example, we can do this now without getting a warning: <match target="font"> <test name="scalable" compare="eq"> <bool>false</bool> </test> <edit name="pixelsizefixupfactor" mode="assign"> <divide> <name target="pattern">pixelsize</name> <name target="font" >pixelsize</name> </divide> </edit> <edit name="matrix" mode="assign"> <times> <name>matrix</name> <matrix> <name>pixelsizefixupfactor</name> <double>0</double> <double>0</double> <name>pixelsizefixupfactor</name> </matrix> </times> </edit> <edit name="size" mode="assign"> <divide> <name>size</name> <name>pixelsizefixupfactor</name> </divide> </edit> </match> Previously the last edit was generating: Fontconfig warning: "/home/behdad/.local/etc/fonts/conf.d/00-scale-bitmap-fonts.conf", line 29: saw unknown, expected number
Diffstat (limited to 'fc-cat/fc-cat.c')
0 files changed, 0 insertions, 0 deletions