[Fontconfig] Make GTK+ apps (and Gnome) fully respect your .fonts.conf

Behdad Esfahbod behdad at behdad.org
Tue Aug 5 20:09:37 PDT 2008

On Tue, 2008-08-05 at 21:39 -0500, Erik wrote:
> Well, specifically, what I had in my .fonts.conf was a default setting 
> of BCI full hinting for all fonts.  After that, I had configuration to 
> use slight hinting for specific fonts.  I found that Gnome (Cairo) apps 
> would not respect this, for whatever reason, whereas KDE (Qt) would.  
> Gnome apps would just do brute-force full-hinting of everything.  This 
> patch on cairo fixed the issue and things then rendered as they do in 
> KDE.  I actually was using MOZ_DISABLE_PANGO=1 before starting firefox, 
> and now I no longer have to with the patched cairo. 
> Perhaps I have a unique configuration in my .fonts.conf that exposed 
> this.  All I know is that it works now.

I'm fairly sure that it comes down to having to remove the currently set
hinting on pattern before setting your new value.


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the Fontconfig mailing list