diff options
author | Keith Packard <keithp@keithp.com> | 2005-06-07 23:28:12 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2005-06-07 23:28:12 +0000 |
commit | c1c8c57b90659287e43c2fd591e74df4c696cb09 (patch) | |
tree | fb45fb1e86a868d044cd6c30c762a3564131ca3b | |
parent | 4f2f520dcec441be34628d233456ad252ff14f58 (diff) |
Font matrix was output incorrectly; the implicit mirror-in-y transformation was not computed correctly, missing a negation of the 'xy' component.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/cairo-pdf-surface.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2005-06-07 Keith Packard <keithp@keithp.com> + + * src/cairo-pdf-surface.c: (_cairo_pdf_surface_show_glyphs): + Font matrix was output incorrectly; the implicit mirror-in-y + transformation was not computed correctly, missing a negation + of the 'xy' component. + 2005-06-02 Kristian Høgsberg <krh@redhat.com> * src/cairo-gstate.c (_cairo_gstate_clip): When clipping, update diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c index 17f968c75..f83ab91e5 100644 --- a/src/cairo-pdf-surface.c +++ b/src/cairo-pdf-surface.c @@ -1890,7 +1890,7 @@ _cairo_pdf_surface_show_glyphs (cairo_scaled_font_t *scaled_font, " %f %f %f %f %f %f Tm (\\%o) Tj", scaled_font->scale.xx, scaled_font->scale.yx, - scaled_font->scale.xy, + -scaled_font->scale.xy, -scaled_font->scale.yy, glyphs[i].x, glyphs[i].y, |