[Fontconfig] What are the possible font family names? Why no "Helvetica" ?

John Ellson ellson at research.att.com
Mon Mar 17 16:21:57 EST 2003


Keith Packard wrote:

>>Why is "Helvetica" not matched to a sans-serif font?
>>    
>>
>
>it probably should be; your /etc/fonts/fonts.conf file should map
>'Helvetica' to 'sans-serif' and then 'sans-serif' to a list of possible 
>sans-serif faces.
>  
>
It was already in there.  The problem was that I was missing the
    FcConfigSubstitute(0,pattern,FcPatternMatch);
statement.  I was thinking it was unnecessary if I was setting the pattern


Thanks for fontconfig.  This is exactly what I needed.

John





More information about the Fontconfig mailing list