summaryrefslogtreecommitdiff
path: root/src/cairo-type3-glyph-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-type3-glyph-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-type3-glyph-surface.c')
-rw-r--r--src/cairo-type3-glyph-surface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-type3-glyph-surface.c b/src/cairo-type3-glyph-surface.c
index c99d46106..8c154b3ac 100644
--- a/src/cairo-type3-glyph-surface.c
+++ b/src/cairo-type3-glyph-surface.c
@@ -90,7 +90,8 @@ _cairo_type3_glyph_surface_create (cairo_scaled_font_t *scaled_font,
_cairo_surface_init (&surface->base,
&cairo_type3_glyph_surface_backend,
NULL, /* device */
- CAIRO_CONTENT_COLOR_ALPHA);
+ CAIRO_CONTENT_COLOR_ALPHA,
+ TRUE); /* is_vector */
surface->scaled_font = scaled_font;
surface->stream = stream;