summarylogtreecommitdiffstats
path: root/cairo-respect-fontconfig_pb.patch
blob: 68844fced44d03e788e980112e25c0a11c08c415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/cairo-ft-font.c	2008-09-29 21:43:13.000000000 +0100
+++ b/src/cairo-ft-font.c	2008-09-29 21:52:19.000000000 +0100
@@ -1705,7 +1705,9 @@
 	options->base.subpixel_order = other->base.subpixel_order;
     }
 
-    if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT)
+    options->base.hint_style = CAIRO_HINT_STYLE_DEFAULT;
+
+    if (other->base.hint_style != CAIRO_HINT_STYLE_DEFAULT)
 	options->base.hint_style = other->base.hint_style;
 
     if (other->base.hint_style == CAIRO_HINT_STYLE_NONE)