[Fontconfig] rule to exclude certain fonts based on file type and name scheme

Akira TAGOH akira at tagoh.org
Sun Sep 1 20:10:44 PDT 2013

The following rule would behaves similar what you want but only
exclude when family is exactly matching with "bad font".

      <patelt name="fontformat"><string>Type 1</string></patelt>
      <patelt name="family"><string>bad font</string></patelt>

On Mon, Sep 2, 2013 at 12:11 AM, Fabian Greffrath <fabian at greffrath.com> 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig


More information about the Fontconfig mailing list