diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2007-11-29 22:54:54 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2007-11-29 22:54:54 +1030 |
commit | 78e8d3d9bd2d4652f636a668a3fa53ef9edfd9ae (patch) | |
tree | 39c00329deb3c0e767c16614b6ea15185aaaed0f | |
parent | 97b0d8b3c376f7848514debbe0697a2159a26eb9 (diff) |
PS: Fix the bounding boxes of Type 3 glyphs
When viewing with ghostscript the glyphs were clipped
-rw-r--r-- | src/cairo-ps-surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index d15a64da..7d370b59 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -630,9 +630,9 @@ _cairo_ps_surface_emit_bitmap_glyph_data (cairo_ps_surface_t *surface, _cairo_output_stream_printf (surface->final_stream, "0 0 %f %f %f %f setcachedevice\n", _cairo_fixed_to_double (scaled_glyph->bbox.p1.x), - - _cairo_fixed_to_double (scaled_glyph->bbox.p2.y), + _cairo_fixed_to_double (scaled_glyph->bbox.p2.y), _cairo_fixed_to_double (scaled_glyph->bbox.p2.x), - - _cairo_fixed_to_double (scaled_glyph->bbox.p1.y)); + _cairo_fixed_to_double (scaled_glyph->bbox.p1.y)); _cairo_output_stream_printf (surface->final_stream, "<<\n" |