diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-05-15 18:19:25 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-15 18:19:25 +0000 |
commit | 6595905a9e6080cfc9a99310b597d66463a7eb2f (patch) | |
tree | e316dae8268cdbc7df8baa874f9b27d3f1494335 /testing/tools/fixup_pdf_template.py | |
parent | bcb81523776512ba45af6e479cafc421871a88a1 (diff) | |
download | pdfium-6595905a9e6080cfc9a99310b597d66463a7eb2f.tar.xz |
Use {{trailer}} macro in testing/resources/javascript/*.in
Also format the trailer in a cleaner multi-line format.
Change-Id: If145834b56f8678f97247b346cc0cfd4d367c501
Reviewed-on: https://pdfium-review.googlesource.com/32571
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing/tools/fixup_pdf_template.py')
-rwxr-xr-x | testing/tools/fixup_pdf_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tools/fixup_pdf_template.py b/testing/tools/fixup_pdf_template.py index fed0ed8e0a..bee7a3d002 100755 --- a/testing/tools/fixup_pdf_template.py +++ b/testing/tools/fixup_pdf_template.py @@ -48,7 +48,7 @@ class TemplateProcessor: assert(len(XREF_REPLACEMENT_F) == 20) TRAILER_TOKEN = '{{trailer}}' - TRAILER_REPLACEMENT = 'trailer<< /Root 1 0 R /Size %d >>' + TRAILER_REPLACEMENT = 'trailer <<\n /Root 1 0 R\n /Size %d\n>>' STARTXREF_TOKEN = '{{startxref}}' STARTXREF_REPLACEMENT = 'startxref\n%d' |