summaryrefslogtreecommitdiff
path: root/pdf/pdf_xobject.c
diff options
context:
space:
mode:
authorPaul Gardiner <paul@glidos.net>2012-06-19 12:46:40 +0100
committerPaul Gardiner <paul@glidos.net>2012-06-19 12:46:40 +0100
commit6553b7d94d94c9adc1201c6cdf6532fe65b9e63d (patch)
treece6a4095ae7bc6782874296866a4315c470d45ca /pdf/pdf_xobject.c
parentacdd8f4d2bd1ff78fbf4fba93857ff6afbe4afcf (diff)
downloadmupdf-6553b7d94d94c9adc1201c6cdf6532fe65b9e63d.tar.xz
Fix bug 693133: MuPDF forms support: Text incorrectly transformed
Refactor the text-widget updating code to use the later-written, button-updating technique, which accounts for rotation. Also now delays generation of appearance streams until required for rendering.
Diffstat (limited to 'pdf/pdf_xobject.c')
-rw-r--r--pdf/pdf_xobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_xobject.c b/pdf/pdf_xobject.c
index f21ecaf6..6af7d951 100644
--- a/pdf/pdf_xobject.c
+++ b/pdf/pdf_xobject.c
@@ -187,7 +187,7 @@ pdf_new_xobject(pdf_document *xref, fz_rect *bbox, fz_matrix *mat)
form->bbox = *bbox;
- form->matrix = fz_identity;
+ form->matrix = *mat;
form->isolated = 0;
form->knockout = 0;