summaryrefslogtreecommitdiff
path: root/src/cairo-ps-surface.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-ps-surface.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-ps-surface.c')
-rw-r--r--src/cairo-ps-surface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index cd03e1a38..fd0d28434 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -1017,7 +1017,8 @@ _cairo_ps_surface_create_for_stream_internal (cairo_output_stream_t *stream,
_cairo_surface_init (&surface->base,
&cairo_ps_surface_backend,
NULL, /* device */
- CAIRO_CONTENT_COLOR_ALPHA);
+ CAIRO_CONTENT_COLOR_ALPHA,
+ TRUE); /* is_vector */
surface->final_stream = stream;