Re: how to enforce scalable fonts
>>>>> "WL" == Werner LEMBERG <wl@xxxxxxx> writes:
WL> For out project (lilypond) it's quite important to have fontconfig
WL> return only scalable fonts. Perhaps it makes sense to add a new
WL> function to fontconfig which controls that?
You could try having a project-specific top-level fonts.conf. It should
have an <include> block which includes the system's fonts.conf (the
location of which should get chosen by ./configure) and which then
rejects bitmap fonts. Something like:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Start with the system conf -->
<include ignore_missing="yes">/etc/fonts/fonts.conf</include>
<!-- Reject bitmap fonts -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>
-JimC
--
James Cloos <cloos@xxxxxxxxxxx> OpenPGP: 1024D/ED7DAEA6
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig
[Fedora Users]
[Fedora Cloud]
[Kernel]
[Fedora Legacy]
[Fedora Packaging]
[Fedora Desktop]
[PAM]
[Red Hat Development]
[Red Hat 9]
[Gimp]
[Yosemite News]