summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Neumann <rene.neumann@in.tum.de>2012-05-07 11:29:02 +0200
committerRené Neumann <rene.neumann@in.tum.de>2012-05-07 11:29:02 +0200
commit131ad13b52d327754a7e129fd8027e7e614a891d (patch)
tree1b3a5d751d5c9bd7f3a05d949a57ba7eca791dad
parent70302c5e6a889326e925d5dbaa4bb2089b27c6ea (diff)
downloadpatches-131ad13b52d327754a7e129fd8027e7e614a891d.tar.gz
patches-131ad13b52d327754a7e129fd8027e7e614a891d.tar.bz2
patches-131ad13b52d327754a7e129fd8027e7e614a891d.zip
Moved cairo patch here
-rw-r--r--x11-libs/cairo/cairo-respect-fontconfig.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-libs/cairo/cairo-respect-fontconfig.patch b/x11-libs/cairo/cairo-respect-fontconfig.patch
new file mode 100644
index 0000000..b0a1b29
--- /dev/null
+++ b/x11-libs/cairo/cairo-respect-fontconfig.patch
@@ -0,0 +1,13 @@
+--- cairo-1.7.6-orig/src/cairo-ft-font.c 2008-09-29 21:43:13.000000000 +0100
++++ cairo-1.7.6/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)