summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/fix-win32-show-glyphs-clipping.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/cairo/fix-win32-show-glyphs-clipping.patch')
-rw-r--r--gfx/cairo/fix-win32-show-glyphs-clipping.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/gfx/cairo/fix-win32-show-glyphs-clipping.patch b/gfx/cairo/fix-win32-show-glyphs-clipping.patch
new file mode 100644
index 000000000..91c5de2e1
--- /dev/null
+++ b/gfx/cairo/fix-win32-show-glyphs-clipping.patch
@@ -0,0 +1,19 @@
+commit 25fb70d4dc1e67553dba5973a79902e4cf81341f
+Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
+Date: Wed Apr 21 11:23:27 2010 -0400
+
+ fix show glyphs clipping
+
+diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
+index c10e134..ff823a3 100644
+--- a/src/cairo-win32-surface.c
++++ b/src/cairo-win32-surface.c
+@@ -1603,6 +1603,8 @@ _cairo_win32_surface_show_glyphs (void *surface,
+
+ _cairo_win32_surface_set_clip_region (surface, clip_region);
+ }
++ } else {
++ _cairo_win32_surface_set_clip_region (surface, NULL);
+ }
+
+ solid_pattern = (cairo_solid_pattern_t *)source;