On Fri, January 4, 2013 08:47, Behdad Esfahbod wrote: > I'm trying to write the uncontroversial default bitmap font resizing > rules, > but I think I'm stuck and need more expressiveness. In particular, in > <test> > expressions I think it's useful to have a target="pattern" also. I think in <test> that's already possible. On a machine here with a 2.10.0 install: With the config: <match target="font"> <edit name="pixelsize"><double>12</double></edit> </match> <match target="font"> <test target="pattern" name="pixelsize"> <double>66.77</double> </test> <test target="font" name="pixelsize"> <double>12</double> </test> <edit name="formerly_pixelsize_66.77_but_now_12"> <bool>true</bool> </edit> </match> I get: wlm2s092:~)fc-match -v ":pixelsize=66.77" |grep pixelsize pixelsize: 12(f)(w) formerly_pixelsize_66.77_but_now_12: FcTrue(w) wlm2s092:~)fc-match -v ":pixelsize=66.78" |grep pixelsize pixelsize: 12(f)(w) -Raimund -- Worringer Str 31 Duesseldorf 40211 Germany +49-179-2981632 icq 16845346 _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig