[cairo-commit] src/cairo-pdf-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Fri Aug 10 04:31:05 PDT 2007


 src/cairo-pdf-surface.c |    1 +
 1 files changed, 1 insertion(+)

New commits:
diff-tree 8881265cca73790a49068b3bab5362cb73f8deb6 (from 4ca0ca153a847337452bbb237d42f6d7b0a163d0)
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Fri Aug 10 20:10:29 2007 +0930

    PDF: Fix regression in pdf_surface_set_size()

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 36cfed1..e29f3b8 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -446,6 +446,7 @@ cairo_pdf_surface_set_size (cairo_surfac
 
     pdf_surface->width = width_in_points;
     pdf_surface->height = height_in_points;
+    cairo_matrix_init (&pdf_surface->cairo_to_pdf, 1, 0, 0, -1, 0, height_in_points);
 }
 
 static void


More information about the cairo-commit mailing list