3 Commits

Author SHA1 Message Date
Lei Zhang
8030eaefb3 Remove DOS line endings from bug_713197.in.
Change-Id: I18852f1b4291737e16baaa271673f7c4a9b6b50a
Reviewed-on: https://pdfium-review.googlesource.com/c/45631
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
2018-11-16 19:59:51 +00:00
Lei Zhang
f7d86bd6b1 Use the {{trailer}} macro in more PDFs.
Change-Id: Idd985dfe2def8ae9dfb7921d006129f66d0bce28
Reviewed-on: https://pdfium-review.googlesource.com/c/45630
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
2018-11-16 19:38:53 +00:00
rbpotter
ce8e51e6c4 Fix rotations
Normalize rotations read from PDF documents. Make FPDFPage_GetRotation
always return a value 0 to 3 as specified in fpdf_edit.h instead of
returning the page rotation / 90 (page rotation may be negative for some
PDFs).

BUG=chromium:713197

Change-Id: Ie477803f7d298b777a3ace89b21cfda8b7f6808b
Reviewed-on: https://pdfium-review.googlesource.com/4532
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
2017-04-29 00:13:24 +00:00