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]

 



Fabian Greffrath wrote:
[...]

<match target="scan">
    <test name="family" compare="contains">
      <string>Courier</string>
    </test>
    <test name="fontformat"><string>Type 1</string></test>
    <edit name="family" mode="assign">
      <string>__DISABLED_FONT__</string>
    </edit>
</match>

Would it be possible to exclude them with the folowing rule then?

<selectfont>
   <rejectfont>
    <pattern>
      <patelt name="family"><string>__DISABLED_FONT__</string></patelt>
    </pattern>
   </rejectfont>
</selectfont>


Ah not a bad idea, indeed this is possible.

-Raimund


--
Worringer Str 31 Duesseldorf 40211 DE  home: <rs@xxxxxxxx>
+49-179-2981632 icq 16845346           work: <rs@xxxxxxxxxxxxxxx>
_______________________________________________
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