[Fontconfig] How to limit search to outline fonts
depp at moria.us
depp at moria.us
Mon Oct 4 16:57:37 PDT 2010
Hm. "Outline font" is typically another term for "vector font". I
checked the Fontconfig source code, and the "scalable" and "outline"
attributes are always set to the same value (see
src/fcfreetype.c:FcFreeTypeQueryFace).
Quoting Mark Wagner <carnildo at gmail.com>:
> On Fri, Oct 1, 2010 at 00:04, <depp at moria.us> wrote:
>> I'd like to search the fonts on a system by family name, but prefer outline
>> fonts later on the list over bitmap fonts earlier on the list. For example,
>> for the spec "Courier, DejaVu Sans Mono":
>>
>> ...
>>
>> What am I missing, or is it really that hard to do this?
>
> Since you're contrasting them to bitmap fonts, it sounds like what
> you're looking for is "vector" fonts rather than "outline" fonts. In
> that case, I think the Fontconfig attribute you're looking for is
> "scalable" rather than "outline".
>
> --
> Mark Wagner
>
More information about the Fontconfig
mailing list