[cairo-commit] cairo/src cairo-pdf-surface.c,1.41,1.42
Keith Packard
commit at pdx.freedesktop.org
Tue Jun 7 23:28:14 PDT 2005
Committed by: keithp
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv21076/src
Modified Files:
cairo-pdf-surface.c
Log Message:
2005-06-07 Keith Packard <keithp at 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.
Index: cairo-pdf-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-pdf-surface.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- cairo-pdf-surface.c 3 Jun 2005 23:45:47 -0000 1.41
+++ cairo-pdf-surface.c 8 Jun 2005 06:28:12 -0000 1.42
@@ -1890,7 +1890,7 @@
" %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,
More information about the cairo-commit
mailing list