summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-appearance.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-03-21 12:44:49 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-03-21 12:57:04 +0100
commit04b04805e7e3e82c49817b409564fa22332dcca5 (patch)
tree4a944ad8fceb0fc895eef795c0cbf7970f05d16a /source/pdf/pdf-appearance.c
parentace0c8fc182763ec54c078f495b025fec42143a3 (diff)
downloadmupdf-04b04805e7e3e82c49817b409564fa22332dcca5.tar.xz
Fix 696661: Missing annotations.
Add an explicit 'page setup' matrix to pdf-write device, which is only used when creating top level page content stream and not the child annotation content streams.
Diffstat (limited to 'source/pdf/pdf-appearance.c')
-rw-r--r--source/pdf/pdf-appearance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c
index 6ddf3240..c64e73af 100644
--- a/source/pdf/pdf-appearance.c
+++ b/source/pdf/pdf-appearance.c
@@ -1617,7 +1617,7 @@ void pdf_set_annot_appearance(fz_context *ctx, pdf_document *doc, pdf_annot *ann
contents = fz_new_buffer(ctx, 0);
- dev = pdf_new_pdf_device(ctx, doc, &trect, contents, resources);
+ dev = pdf_new_pdf_device(ctx, doc, &fz_identity, &trect, contents, resources);
fz_run_display_list(ctx, disp_list, dev, &ctm, &fz_infinite_rect, NULL);
fz_drop_device(ctx, dev);