mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-14 22:38:04 +02:00
PS: Fix the bounding boxes of Type 3 glyphs
When viewing with ghostscript the glyphs were clipped
This commit is contained in:
parent
97b0d8b3c3
commit
78e8d3d9bd
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue