pdfium/testing/resources/bug_713197.in
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

28 lines
351 B
Plaintext

{{header}}
{{object 1 0}} <<
/Type /Catalog
/Pages 2 0 R
>>
endobj
{{object 2 0}}<<
/Type /Pages
/MediaBox [0 0 600 800]
/Count 1
/Kids [ 3 0 R ]
>>
endobj
{{object 3 0}}<<
/Type /Page
/Parent 2 0 R
/Resources <<>>
/Rotate -90
>>
endobj
{{xref}}
trailer <<
/Size 4
/Root 1 0 R
>>
{{startxref}}
%%EOF