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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since this has bothered me for a long time, as I imagine it would 
anybody who likes to uber-tweak their .fonts.conf, I figured I would put 
it out there.  Gnome and GTK+ apps never respected my per-font hinting 
settings in .fonts.conf which drove me totally bonkers.  Apparently, 
what causes them to ignore the hinting settings is actually due to cairo 
overriding it.  I found a solution on Ubuntu forums and created a patch 
for Cairo that will make it respect .fonts.conf:


--- cairo-1.4.12/src/cairo-ft-font.c.orig    2008-06-05 
19:34:45.000000000 -0500
+++ cairo-1.4.12/src/cairo-ft-font.c    2008-06-05 19:35:17.000000000 -0500
@@ -1641,7 +1641,7 @@
     options->base.subpixel_order = other->base.subpixel_order;
     }
 
-    if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT)
+    //if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT)
     options->base.hint_style = other->base.hint_style;
 
     if (other->base.hint_style == CAIRO_HINT_STYLE_NONE)
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux