From b7121844bf21b1c022aaeb26cd4c98148ab1ed29 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Wed, 14 Apr 2010 14:07:14 -0700 Subject: [PATCH 1/1] fixed bug in pdf2pdf --- lib/devices/pdf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/devices/pdf.c b/lib/devices/pdf.c index 16bb6cf..c1484bb 100644 --- a/lib/devices/pdf.c +++ b/lib/devices/pdf.c @@ -64,6 +64,10 @@ static void restore_matrix(internal_t*i) if(i->has_matrix) { PDF_restore(i->p); i->has_matrix=0; + i->m00 = 0; + i->m01 = 0; + i->m10 = 0; + i->m11 = 0; } } static void set_matrix(internal_t*i, double m00, double m01, double m10, double m11) -- 1.7.10.4