[Fontconfig] Determining the presence of a font / font fallback

Raimund Steger rs at mytum.de
Wed Apr 29 07:43:44 PDT 2015


On Wed, April 29, 2015 16:21, Raimund Steger wrote:
>
> On Wed, April 29, 2015 15:03, Urs Liska wrote:
>> [...]
>
>> Or otherwise I'd like to know about a way to have fontconfig return some
>> "failure condition" instead of a replacement if a font isn't matched.
>
> The problem with this is that fontconfig has only a fuzzy concept of
> equality. Most people would think of font equality as "family name
> equality". If that's what you want, just compare FC_FAMILY and/or

Ah, before I forget to mention that *again*, there are also Microsoft's
font name normalization rules which are not currently implemented by
fontconfig but have at times been hinted at by Nicolas ;)

Raimund


-- 
Worringer Str 31 Duesseldorf 40211 DE  home: <rs at mytum.de>
+49-179-2981632 icq 16845346           work: <rs at interface-ag.de>



More information about the Fontconfig mailing list