Re: rule to exclude certain fonts based on file type and name scheme

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux