diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-03-31 15:06:42 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-04-04 16:52:03 +0200 |
commit | 86595de62c24b453913fcf4e63202276bc708a57 (patch) | |
tree | 721f7a37e7fa6d3c0ba846e039b791ca0fdd6e73 /source | |
parent | f20b6024713e480e8bc47dfc53e82aa46ebfb28e (diff) | |
download | mupdf-86595de62c24b453913fcf4e63202276bc708a57.tar.xz |
Fix typo in pdfwrite top-level matrix.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-device.c b/source/pdf/pdf-device.c index b33010e6..7ac9c7ca 100644 --- a/source/pdf/pdf-device.c +++ b/source/pdf/pdf-device.c @@ -1132,7 +1132,7 @@ fz_device *pdf_new_pdf_device(fz_context *ctx, pdf_document *doc, const fz_matri fz_device *pdf_page_write(fz_context *ctx, pdf_document *doc, const fz_rect *mediabox, fz_buffer **pcontents, pdf_obj **presources) { - fz_matrix pagectm = { 1, 0, 0, 1, -mediabox->x0, mediabox->y1 }; + fz_matrix pagectm = { 1, 0, 0, -1, -mediabox->x0, mediabox->y1 }; *presources = pdf_new_dict(ctx, doc, 0); *pcontents = fz_new_buffer(ctx, 0); return pdf_new_pdf_device(ctx, doc, &pagectm, mediabox, *pcontents, *presources); |