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

John Ellson fontconfig@fontconfig.org
Mon, 17 Mar 2003 00:21:57 -0500


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