summaryrefslogtreecommitdiff
path: root/src/cairo-xcb-surface-render.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2015-09-21 21:35:05 +0930
committerAdrian Johnson <ajohnson@redneon.com>2015-10-17 18:39:18 +1030
commitb1192beac7c5b56a8ff356d20af5ebfb65404109 (patch)
treec83aaf37901d093856da9a96cdfce9eb2d386e3d /src/cairo-xcb-surface-render.c
parent6656cafebfdac3365e8f903eb408043507a5e551 (diff)
downloadcairo-b1192beac7c5b56a8ff356d20af5ebfb65404109.tar.gz
Don't cull very thin lines on vector surfaces
On vector surfaces, use a minimum line width when calculating extents. Bug 77298
Diffstat (limited to 'src/cairo-xcb-surface-render.c')
-rw-r--r--src/cairo-xcb-surface-render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c
index 044339bce..64a3d5a77 100644
--- a/src/cairo-xcb-surface-render.c
+++ b/src/cairo-xcb-surface-render.c
@@ -122,7 +122,8 @@ _cairo_xcb_picture_create (cairo_xcb_screen_t *screen,
_cairo_surface_init (&surface->base,
&_cairo_xcb_picture_backend,
&screen->connection->device,
- _cairo_content_from_pixman_format (pixman_format));
+ _cairo_content_from_pixman_format (pixman_format),
+ FALSE); /* is_vector */
cairo_list_add (&surface->link, &screen->pictures);