diff options
author | Lei Zhang <thestig@chromium.org> | 2017-06-26 12:23:51 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-26 20:28:24 +0000 |
commit | bdb330ee4d4d9d6fafc6bc84d4fa28c045eda936 (patch) | |
tree | 42c67b6f3027cb85a7b70d9171c641f3067bbe12 /testing/resources/hello_world.in | |
parent | cbe6d1662e2b76a343702fc77334f6e68b854427 (diff) | |
download | pdfium-bdb330ee4d4d9d6fafc6bc84d4fa28c045eda936.tar.xz |
Fix the Size trailer entry in hand written PDFs.
Change-Id: Ib84cc570c2ffaf9fdd49d32bc12c7e6197e130c1
Reviewed-on: https://pdfium-review.googlesource.com/6850
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing/resources/hello_world.in')
-rw-r--r-- | testing/resources/hello_world.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/resources/hello_world.in b/testing/resources/hello_world.in index 19fce0ce33..d3cf265c35 100644 --- a/testing/resources/hello_world.in +++ b/testing/resources/hello_world.in @@ -3,6 +3,7 @@ /Type /Catalog /Pages 2 0 R >> +endobj {{object 2 0}} << /Type /Pages /MediaBox [ 0 0 200 200 ] @@ -48,9 +49,6 @@ ET endstream endobj {{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> +{{trailer}} {{startxref}} %%EOF |