summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/12-pdf-surface-typo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/cairo/12-pdf-surface-typo.patch')
-rw-r--r--gfx/cairo/12-pdf-surface-typo.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gfx/cairo/12-pdf-surface-typo.patch b/gfx/cairo/12-pdf-surface-typo.patch
new file mode 100644
index 0000000000..53bb47b967
--- /dev/null
+++ b/gfx/cairo/12-pdf-surface-typo.patch
@@ -0,0 +1,12 @@
+diff --git a/gfx/cairo/cairo/src/cairo-pdf-surface.c b/gfx/cairo/cairo/src/cairo-pdf-surface.c
+--- a/gfx/cairo/cairo/src/cairo-pdf-surface.c
++++ b/gfx/cairo/cairo/src/cairo-pdf-surface.c
+@@ -7560,7 +7560,7 @@ static cairo_int_status_t
+ if (_cairo_surface_get_extents (surface_pattern->surface, &rec_extents)) {
+ if (_cairo_fixed_integer_ceil(box.p1.x) < rec_extents.x ||
+ _cairo_fixed_integer_ceil(box.p1.y) < rec_extents.y ||
+- _cairo_fixed_integer_floor(box.p2.y) > rec_extents.x + rec_extents.width ||
++ _cairo_fixed_integer_floor(box.p2.x) > rec_extents.x + rec_extents.width ||
+ _cairo_fixed_integer_floor(box.p2.y) > rec_extents.y + rec_extents.height)
+ {
+ return CAIRO_INT_STATUS_UNSUPPORTED;