[PATCH] PDF: Fix regression in pdf_surface_set_size()
Adrian Johnson
ajohnson at redneon.com
Tue Aug 7 15:18:04 PDT 2007
---
src/cairo-pdf-surface.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 1e73c4c..bdfbf48 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
--
1.4.3.4
--------------030707090407060005080702--
More information about the cairo
mailing list