fixed bug in pdf2pdf
authorMatthias Kramm <kramm@quiss.org>
Wed, 14 Apr 2010 21:07:14 +0000 (14:07 -0700)
committerMatthias Kramm <kramm@quiss.org>
Wed, 14 Apr 2010 21:07:14 +0000 (14:07 -0700)
lib/devices/pdf.c

index 16bb6cf..c1484bb 100644 (file)
@@ -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)