From bdb330ee4d4d9d6fafc6bc84d4fa28c045eda936 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 26 Jun 2017 12:23:51 -0700 Subject: Fix the Size trailer entry in hand written PDFs. Change-Id: Ib84cc570c2ffaf9fdd49d32bc12c7e6197e130c1 Reviewed-on: https://pdfium-review.googlesource.com/6850 Commit-Queue: Lei Zhang Reviewed-by: Henrique Nakashima Reviewed-by: dsinclair --- testing/resources/launch_action.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'testing/resources/launch_action.in') diff --git a/testing/resources/launch_action.in b/testing/resources/launch_action.in index c98539f5ea..00569e4489 100644 --- a/testing/resources/launch_action.in +++ b/testing/resources/launch_action.in @@ -3,6 +3,7 @@ /Type /Catalog /Pages 2 0 R >> +endobj {{object 2 0}} << /Type /Pages /MediaBox [ 0 0 200 200 ] @@ -40,15 +41,13 @@ endobj /F 6 0 R /S /Launch >> +endobj {{object 6 0}} << /F (test.pdf) /Type / Filespec >> endobj {{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> +{{trailer}} {{startxref}} %%EOF -- cgit v1.2.3