The following rule would behaves similar what you want but only exclude when family is exactly matching with "bad font". <selectfont> <rejectfont> <pattern> <patelt name="fontformat"><string>Type 1</string></patelt> <patelt name="family"><string>bad font</string></patelt> </pattern> </rejectfont> </selectfont> On Mon, Sep 2, 2013 at 12:11 AM, Fabian Greffrath <fabian@xxxxxxxxxxxxx> wrote: > Hi fontconfig! > > is it possible to exlude all fonts that are in Type1 format AND contain > a certain string, e.g. "bad font", somewhere in their family name via a > simple fontconfig rule? > > Thanks! > > - Fabian > > > _______________________________________________ > Fontconfig mailing list > Fontconfig@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/fontconfig -- Akira TAGOH _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig