Re: how to enforce scalable fonts

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

 



>> Within an application, how can I enforce fontconfig to return
>> scalable fonts only?  In other words, I want the equivalent to
>>
>>   <fontconfig>
>>   <selectfont>
>>    <rejectfont>
>>    <pattern>
>>     <patelt name="scalable"><bool>false</bool></patelt>
>>    </pattern>
>>
>> but without adding that to a local fontconfig config file.
>
> Humm.  I'm out of ideas right now.

For out project (lilypond) it's quite important to have fontconfig
return only scalable fonts.  Perhaps it makes sense to add a new
function to fontconfig which controls that?

I can try to circumvent the issue (this is, using FreeType stuff to
test whether a font is scalable), but then it would be necessary that
fontconfig returns a list of fonts which exactly fit the search
pattern so that I can iterate its elements (or perhaps fontconfig
itself provides such an iterator).  Is this possible?


    Werner
_______________________________________________
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