From 78e8d3d9bd2d4652f636a668a3fa53ef9edfd9ae Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Thu, 29 Nov 2007 22:54:54 +1030 Subject: [PATCH] PS: Fix the bounding boxes of Type 3 glyphs When viewing with ghostscript the glyphs were clipped --- src/cairo-ps-surface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index d15a64da2..7d370b595 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"