summaryrefslogtreecommitdiff
path: root/x11-libs/cairo/files/cairo-respect-fontconfig.patch
diff options
context:
space:
mode:
authorRené Neumann <rene.neumann@in.tum.de>2011-08-11 19:41:33 +0200
committerRené Neumann <rene.neumann@in.tum.de>2011-08-11 19:41:33 +0200
commit649ed3773a9fef8712733fbdcc9d09a5bae62f99 (patch)
tree7e44a016031820de7adb3a770c93fe26f21a826e /x11-libs/cairo/files/cairo-respect-fontconfig.patch
parentda28afd29226a8445a65d22865589a71e6e06488 (diff)
downloadoverlay-649ed3773a9fef8712733fbdcc9d09a5bae62f99.tar.gz
overlay-649ed3773a9fef8712733fbdcc9d09a5bae62f99.tar.bz2
overlay-649ed3773a9fef8712733fbdcc9d09a5bae62f99.zip
Patched cairo
Diffstat (limited to 'x11-libs/cairo/files/cairo-respect-fontconfig.patch')
-rw-r--r--x11-libs/cairo/files/cairo-respect-fontconfig.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-libs/cairo/files/cairo-respect-fontconfig.patch b/x11-libs/cairo/files/cairo-respect-fontconfig.patch
new file mode 100644
index 0000000..b0a1b29
--- /dev/null
+++ b/x11-libs/cairo/files/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)