diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-09-27 22:59:16 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-09-27 22:59:16 +0200 |
commit | d6d36b6ced682318b47d489bfb7ba56a1db382de (patch) | |
tree | 952a6d79697292bf0cd4377f384758cc0984920d /examples/qtest/linearize | |
parent | 6bdac26369c0d770759c2b6ce24afef608a91ec9 (diff) | |
download | qpdf-d6d36b6ced682318b47d489bfb7ba56a1db382de.tar.zst |
C linearization example
git-svn-id: svn+q:///qpdf/trunk@739 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'examples/qtest/linearize')
-rw-r--r-- | examples/qtest/linearize/check.out | 5 | ||||
-rw-r--r-- | examples/qtest/linearize/input.pdf | 79 |
2 files changed, 84 insertions, 0 deletions
diff --git a/examples/qtest/linearize/check.out b/examples/qtest/linearize/check.out new file mode 100644 index 00000000..c2063a41 --- /dev/null +++ b/examples/qtest/linearize/check.out @@ -0,0 +1,5 @@ +checking a.pdf +PDF Version: 1.3 +File is not encrypted +File is linearized +No errors found diff --git a/examples/qtest/linearize/input.pdf b/examples/qtest/linearize/input.pdf new file mode 100644 index 00000000..a7e01f91 --- /dev/null +++ b/examples/qtest/linearize/input.pdf @@ -0,0 +1,79 @@ +%PDF-1.3 +1 0 obj +<< + /Type /Catalog + /Pages 2 0 R +>> +endobj + +2 0 obj +<< + /Type /Pages + /Kids [ + 3 0 R + ] + /Count 1 +>> +endobj + +3 0 obj +<< + /Type /Page + /Parent 2 0 R + /MediaBox [0 0 612 792] + /Contents 4 0 R + /Resources << + /ProcSet 5 0 R + /Font << + /F1 6 0 R + >> + >> +>> +endobj + +4 0 obj +<< + /Length 44 +>> +stream +BT + /F1 24 Tf + 72 720 Td + (Potato) Tj +ET +endstream +endobj + +5 0 obj +[ + /PDF + /Text +] +endobj + +6 0 obj +<< + /Type /Font + /Subtype /Type1 + /Name /F1 + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding +>> +endobj + +xref +0 7 +0000000000 65535 f +0000000009 00000 n +0000000063 00000 n +0000000135 00000 n +0000000307 00000 n +0000000403 00000 n +0000000438 00000 n +trailer << + /Size 7 + /Root 1 0 R +>> +startxref +556 +%%EOF |