diff options
Diffstat (limited to 'qpdf/qtest')
-rw-r--r-- | qpdf/qtest/qpdf.test | 15 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/fx-overlay-64.pdf | 389 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/fx-overlay-65.pdf | 389 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/fx-overlay-66.pdf | 389 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/fx-overlay-67.pdf | 389 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/fxo-bigsmall.pdf | 177 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/fxo-smallbig.pdf | 177 |
7 files changed, 1924 insertions, 1 deletions
diff --git a/qpdf/qtest/qpdf.test b/qpdf/qtest/qpdf.test index 8d77b024..e1cd6bf4 100644 --- a/qpdf/qtest/qpdf.test +++ b/qpdf/qtest/qpdf.test @@ -412,7 +412,7 @@ foreach my $i (@choice_values) show_ntests(); # ---------- $td->notify("--- Form XObject, underlay, overlay ---"); -$n_tests += 10; +$n_tests += 18; $td->runtest("form xobject creation", {$td->COMMAND => "test_driver 55 fxo-red.pdf"}, @@ -433,6 +433,19 @@ foreach (my $i = 56; $i <= 59; ++$i) {$td->FILE => "a.pdf"}, {$td->FILE => "fx-overlay-$i.pdf"}); } +foreach (my $i = 64; $i <= 67; ++$i) +{ + # See comments in test_driver.cc for a verbal description of what + # the resulting files should look like. + $td->runtest("overlay shrink/expand", + {$td->COMMAND => + "test_driver $i fxo-bigsmall.pdf fxo-smallbig.pdf"}, + {$td->STRING => "test $i done\n", $td->EXIT_STATUS => 0}, + $td->NORMALIZE_NEWLINES); + $td->runtest("compare files", + {$td->FILE => "a.pdf"}, + {$td->FILE => "fx-overlay-$i.pdf"}); +} my @uo_cases = ( '--underlay fxo-green.pdf --repeat=z --to=1-14 --' . diff --git a/qpdf/qtest/qpdf/fx-overlay-64.pdf b/qpdf/qtest/qpdf/fx-overlay-64.pdf new file mode 100644 index 00000000..eb27ad6d --- /dev/null +++ b/qpdf/qtest/qpdf/fx-overlay-64.pdf @@ -0,0 +1,389 @@ +%PDF-1.3 +%¿÷¢þ +%QDF-1.0 + +%% Original object ID: 1 0 +1 0 obj +<< + /Pages 2 0 R + /Type /Catalog +>> +endobj + +%% Original object ID: 2 0 +2 0 obj +<< + /Count 2 + /Kids [ + 3 0 R + 4 0 R + ] + /Type /Pages +>> +endobj + +%% Page 1 +%% Original object ID: 3 0 +3 0 obj +<< + /Contents [ + 5 0 R + 7 0 R + 9 0 R + ] + /MediaBox [ + 0 + 0 + 612 + 792 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 11 0 R + >> + /ProcSet 12 0 R + /XObject << + /Fx1 13 0 R + >> + >> + /Type /Page +>> +endobj + +%% Page 2 +%% Original object ID: 4 0 +4 0 obj +<< + /Contents [ + 15 0 R + 17 0 R + 19 0 R + ] + /MediaBox [ + 0 + 0 + 306 + 396 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 21 0 R + >> + /ProcSet 22 0 R + /XObject << + /Fx1 23 0 R + >> + >> + /Type /Page +>> +endobj + +%% Contents for page 1 +%% Original object ID: 16 0 +5 0 obj +<< + /Length 6 0 R +>> +stream +q +endstream +endobj + +6 0 obj +2 +endobj + +%% Contents for page 1 +%% Original object ID: 5 0 +7 0 obj +<< + /Length 8 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +8 0 obj +101 +endobj + +%% Contents for page 1 +%% Original object ID: 17 0 +9 0 obj +<< + /Length 10 0 R +>> +stream + +Q +q +1.00000 0.00000 0.00000 1.00000 153.00000 198.00000 cm +/Fx1 Do +Q +endstream +endobj + +10 0 obj +70 +endobj + +%% Original object ID: 7 0 +11 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 8 0 +12 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 13 0 +13 0 obj +<< + /BBox [ + 0 + 0 + 306 + 396 + ] + /Resources << + /Font << + /F1 25 0 R + >> + /ProcSet 26 0 R + >> + /Subtype /Form + /Type /XObject + /Length 14 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +14 0 obj +105 +endobj + +%% Contents for page 2 +%% Original object ID: 21 0 +15 0 obj +<< + /Length 16 0 R +>> +stream +q +endstream +endobj + +16 0 obj +2 +endobj + +%% Contents for page 2 +%% Original object ID: 9 0 +17 0 obj +<< + /Length 18 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +18 0 obj +103 +endobj + +%% Contents for page 2 +%% Original object ID: 22 0 +19 0 obj +<< + /Length 20 0 R +>> +stream + +Q +q +1.00000 0.00000 0.00000 1.00000 -153.00000 -198.00000 cm +/Fx1 Do +Q +endstream +endobj + +20 0 obj +72 +endobj + +%% Original object ID: 11 0 +21 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 12 0 +22 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 18 0 +23 0 obj +<< + /BBox [ + 0 + 0 + 612 + 792 + ] + /Resources << + /Font << + /F1 27 0 R + >> + /ProcSet 28 0 R + >> + /Subtype /Form + /Type /XObject + /Length 24 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +24 0 obj +103 +endobj + +%% Original object ID: 14 0 +25 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 15 0 +26 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 19 0 +27 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 20 0 +28 0 obj +[ + /PDF + /Text +] +endobj + +xref +0 29 +0000000000 65535 f +0000000052 00000 n +0000000133 00000 n +0000000252 00000 n +0000000554 00000 n +0000000873 00000 n +0000000930 00000 n +0000000998 00000 n +0000001154 00000 n +0000001225 00000 n +0000001351 00000 n +0000001398 00000 n +0000001544 00000 n +0000001608 00000 n +0000001924 00000 n +0000001996 00000 n +0000002055 00000 n +0000002124 00000 n +0000002284 00000 n +0000002356 00000 n +0000002485 00000 n +0000002533 00000 n +0000002680 00000 n +0000002744 00000 n +0000003058 00000 n +0000003107 00000 n +0000003254 00000 n +0000003318 00000 n +0000003465 00000 n +trailer << + /Root 1 0 R + /Size 29 + /ID [<4866f3ccc81fb28dc4a27f0f976ce937><31415926535897932384626433832795>] +>> +startxref +3501 +%%EOF diff --git a/qpdf/qtest/qpdf/fx-overlay-65.pdf b/qpdf/qtest/qpdf/fx-overlay-65.pdf new file mode 100644 index 00000000..9a01f5d8 --- /dev/null +++ b/qpdf/qtest/qpdf/fx-overlay-65.pdf @@ -0,0 +1,389 @@ +%PDF-1.3 +%¿÷¢þ +%QDF-1.0 + +%% Original object ID: 1 0 +1 0 obj +<< + /Pages 2 0 R + /Type /Catalog +>> +endobj + +%% Original object ID: 2 0 +2 0 obj +<< + /Count 2 + /Kids [ + 3 0 R + 4 0 R + ] + /Type /Pages +>> +endobj + +%% Page 1 +%% Original object ID: 3 0 +3 0 obj +<< + /Contents [ + 5 0 R + 7 0 R + 9 0 R + ] + /MediaBox [ + 0 + 0 + 612 + 792 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 11 0 R + >> + /ProcSet 12 0 R + /XObject << + /Fx1 13 0 R + >> + >> + /Type /Page +>> +endobj + +%% Page 2 +%% Original object ID: 4 0 +4 0 obj +<< + /Contents [ + 15 0 R + 17 0 R + 19 0 R + ] + /MediaBox [ + 0 + 0 + 306 + 396 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 21 0 R + >> + /ProcSet 22 0 R + /XObject << + /Fx1 23 0 R + >> + >> + /Type /Page +>> +endobj + +%% Contents for page 1 +%% Original object ID: 16 0 +5 0 obj +<< + /Length 6 0 R +>> +stream +q +endstream +endobj + +6 0 obj +2 +endobj + +%% Contents for page 1 +%% Original object ID: 5 0 +7 0 obj +<< + /Length 8 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +8 0 obj +101 +endobj + +%% Contents for page 1 +%% Original object ID: 17 0 +9 0 obj +<< + /Length 10 0 R +>> +stream + +Q +q +1.00000 0.00000 0.00000 1.00000 153.00000 198.00000 cm +/Fx1 Do +Q +endstream +endobj + +10 0 obj +70 +endobj + +%% Original object ID: 7 0 +11 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 8 0 +12 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 13 0 +13 0 obj +<< + /BBox [ + 0 + 0 + 306 + 396 + ] + /Resources << + /Font << + /F1 25 0 R + >> + /ProcSet 26 0 R + >> + /Subtype /Form + /Type /XObject + /Length 14 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +14 0 obj +105 +endobj + +%% Contents for page 2 +%% Original object ID: 21 0 +15 0 obj +<< + /Length 16 0 R +>> +stream +q +endstream +endobj + +16 0 obj +2 +endobj + +%% Contents for page 2 +%% Original object ID: 9 0 +17 0 obj +<< + /Length 18 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +18 0 obj +103 +endobj + +%% Contents for page 2 +%% Original object ID: 22 0 +19 0 obj +<< + /Length 20 0 R +>> +stream + +Q +q +0.50000 0.00000 0.00000 0.50000 0.00000 0.00000 cm +/Fx1 Do +Q +endstream +endobj + +20 0 obj +66 +endobj + +%% Original object ID: 11 0 +21 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 12 0 +22 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 18 0 +23 0 obj +<< + /BBox [ + 0 + 0 + 612 + 792 + ] + /Resources << + /Font << + /F1 27 0 R + >> + /ProcSet 28 0 R + >> + /Subtype /Form + /Type /XObject + /Length 24 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +24 0 obj +103 +endobj + +%% Original object ID: 14 0 +25 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 15 0 +26 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 19 0 +27 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 20 0 +28 0 obj +[ + /PDF + /Text +] +endobj + +xref +0 29 +0000000000 65535 f +0000000052 00000 n +0000000133 00000 n +0000000252 00000 n +0000000554 00000 n +0000000873 00000 n +0000000930 00000 n +0000000998 00000 n +0000001154 00000 n +0000001225 00000 n +0000001351 00000 n +0000001398 00000 n +0000001544 00000 n +0000001608 00000 n +0000001924 00000 n +0000001996 00000 n +0000002055 00000 n +0000002124 00000 n +0000002284 00000 n +0000002356 00000 n +0000002479 00000 n +0000002527 00000 n +0000002674 00000 n +0000002738 00000 n +0000003052 00000 n +0000003101 00000 n +0000003248 00000 n +0000003312 00000 n +0000003459 00000 n +trailer << + /Root 1 0 R + /Size 29 + /ID [<4866f3ccc81fb28dc4a27f0f976ce937><31415926535897932384626433832795>] +>> +startxref +3495 +%%EOF diff --git a/qpdf/qtest/qpdf/fx-overlay-66.pdf b/qpdf/qtest/qpdf/fx-overlay-66.pdf new file mode 100644 index 00000000..2b887848 --- /dev/null +++ b/qpdf/qtest/qpdf/fx-overlay-66.pdf @@ -0,0 +1,389 @@ +%PDF-1.3 +%¿÷¢þ +%QDF-1.0 + +%% Original object ID: 1 0 +1 0 obj +<< + /Pages 2 0 R + /Type /Catalog +>> +endobj + +%% Original object ID: 2 0 +2 0 obj +<< + /Count 2 + /Kids [ + 3 0 R + 4 0 R + ] + /Type /Pages +>> +endobj + +%% Page 1 +%% Original object ID: 3 0 +3 0 obj +<< + /Contents [ + 5 0 R + 7 0 R + 9 0 R + ] + /MediaBox [ + 0 + 0 + 612 + 792 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 11 0 R + >> + /ProcSet 12 0 R + /XObject << + /Fx1 13 0 R + >> + >> + /Type /Page +>> +endobj + +%% Page 2 +%% Original object ID: 4 0 +4 0 obj +<< + /Contents [ + 15 0 R + 17 0 R + 19 0 R + ] + /MediaBox [ + 0 + 0 + 306 + 396 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 21 0 R + >> + /ProcSet 22 0 R + /XObject << + /Fx1 23 0 R + >> + >> + /Type /Page +>> +endobj + +%% Contents for page 1 +%% Original object ID: 16 0 +5 0 obj +<< + /Length 6 0 R +>> +stream +q +endstream +endobj + +6 0 obj +2 +endobj + +%% Contents for page 1 +%% Original object ID: 5 0 +7 0 obj +<< + /Length 8 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +8 0 obj +101 +endobj + +%% Contents for page 1 +%% Original object ID: 17 0 +9 0 obj +<< + /Length 10 0 R +>> +stream + +Q +q +2.00000 0.00000 0.00000 2.00000 0.00000 0.00000 cm +/Fx1 Do +Q +endstream +endobj + +10 0 obj +66 +endobj + +%% Original object ID: 7 0 +11 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 8 0 +12 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 13 0 +13 0 obj +<< + /BBox [ + 0 + 0 + 306 + 396 + ] + /Resources << + /Font << + /F1 25 0 R + >> + /ProcSet 26 0 R + >> + /Subtype /Form + /Type /XObject + /Length 14 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +14 0 obj +105 +endobj + +%% Contents for page 2 +%% Original object ID: 21 0 +15 0 obj +<< + /Length 16 0 R +>> +stream +q +endstream +endobj + +16 0 obj +2 +endobj + +%% Contents for page 2 +%% Original object ID: 9 0 +17 0 obj +<< + /Length 18 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +18 0 obj +103 +endobj + +%% Contents for page 2 +%% Original object ID: 22 0 +19 0 obj +<< + /Length 20 0 R +>> +stream + +Q +q +1.00000 0.00000 0.00000 1.00000 -153.00000 -198.00000 cm +/Fx1 Do +Q +endstream +endobj + +20 0 obj +72 +endobj + +%% Original object ID: 11 0 +21 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 12 0 +22 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 18 0 +23 0 obj +<< + /BBox [ + 0 + 0 + 612 + 792 + ] + /Resources << + /Font << + /F1 27 0 R + >> + /ProcSet 28 0 R + >> + /Subtype /Form + /Type /XObject + /Length 24 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +24 0 obj +103 +endobj + +%% Original object ID: 14 0 +25 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 15 0 +26 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 19 0 +27 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 20 0 +28 0 obj +[ + /PDF + /Text +] +endobj + +xref +0 29 +0000000000 65535 f +0000000052 00000 n +0000000133 00000 n +0000000252 00000 n +0000000554 00000 n +0000000873 00000 n +0000000930 00000 n +0000000998 00000 n +0000001154 00000 n +0000001225 00000 n +0000001347 00000 n +0000001394 00000 n +0000001540 00000 n +0000001604 00000 n +0000001920 00000 n +0000001992 00000 n +0000002051 00000 n +0000002120 00000 n +0000002280 00000 n +0000002352 00000 n +0000002481 00000 n +0000002529 00000 n +0000002676 00000 n +0000002740 00000 n +0000003054 00000 n +0000003103 00000 n +0000003250 00000 n +0000003314 00000 n +0000003461 00000 n +trailer << + /Root 1 0 R + /Size 29 + /ID [<4866f3ccc81fb28dc4a27f0f976ce937><31415926535897932384626433832795>] +>> +startxref +3497 +%%EOF diff --git a/qpdf/qtest/qpdf/fx-overlay-67.pdf b/qpdf/qtest/qpdf/fx-overlay-67.pdf new file mode 100644 index 00000000..8c09168f --- /dev/null +++ b/qpdf/qtest/qpdf/fx-overlay-67.pdf @@ -0,0 +1,389 @@ +%PDF-1.3 +%¿÷¢þ +%QDF-1.0 + +%% Original object ID: 1 0 +1 0 obj +<< + /Pages 2 0 R + /Type /Catalog +>> +endobj + +%% Original object ID: 2 0 +2 0 obj +<< + /Count 2 + /Kids [ + 3 0 R + 4 0 R + ] + /Type /Pages +>> +endobj + +%% Page 1 +%% Original object ID: 3 0 +3 0 obj +<< + /Contents [ + 5 0 R + 7 0 R + 9 0 R + ] + /MediaBox [ + 0 + 0 + 612 + 792 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 11 0 R + >> + /ProcSet 12 0 R + /XObject << + /Fx1 13 0 R + >> + >> + /Type /Page +>> +endobj + +%% Page 2 +%% Original object ID: 4 0 +4 0 obj +<< + /Contents [ + 15 0 R + 17 0 R + 19 0 R + ] + /MediaBox [ + 0 + 0 + 306 + 396 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 21 0 R + >> + /ProcSet 22 0 R + /XObject << + /Fx1 23 0 R + >> + >> + /Type /Page +>> +endobj + +%% Contents for page 1 +%% Original object ID: 16 0 +5 0 obj +<< + /Length 6 0 R +>> +stream +q +endstream +endobj + +6 0 obj +2 +endobj + +%% Contents for page 1 +%% Original object ID: 5 0 +7 0 obj +<< + /Length 8 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +8 0 obj +101 +endobj + +%% Contents for page 1 +%% Original object ID: 17 0 +9 0 obj +<< + /Length 10 0 R +>> +stream + +Q +q +2.00000 0.00000 0.00000 2.00000 0.00000 0.00000 cm +/Fx1 Do +Q +endstream +endobj + +10 0 obj +66 +endobj + +%% Original object ID: 7 0 +11 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 8 0 +12 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 13 0 +13 0 obj +<< + /BBox [ + 0 + 0 + 306 + 396 + ] + /Resources << + /Font << + /F1 25 0 R + >> + /ProcSet 26 0 R + >> + /Subtype /Form + /Type /XObject + /Length 14 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +14 0 obj +105 +endobj + +%% Contents for page 2 +%% Original object ID: 21 0 +15 0 obj +<< + /Length 16 0 R +>> +stream +q +endstream +endobj + +16 0 obj +2 +endobj + +%% Contents for page 2 +%% Original object ID: 9 0 +17 0 obj +<< + /Length 18 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +18 0 obj +103 +endobj + +%% Contents for page 2 +%% Original object ID: 22 0 +19 0 obj +<< + /Length 20 0 R +>> +stream + +Q +q +0.50000 0.00000 0.00000 0.50000 0.00000 0.00000 cm +/Fx1 Do +Q +endstream +endobj + +20 0 obj +66 +endobj + +%% Original object ID: 11 0 +21 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 12 0 +22 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 18 0 +23 0 obj +<< + /BBox [ + 0 + 0 + 612 + 792 + ] + /Resources << + /Font << + /F1 27 0 R + >> + /ProcSet 28 0 R + >> + /Subtype /Form + /Type /XObject + /Length 24 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +24 0 obj +103 +endobj + +%% Original object ID: 14 0 +25 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 15 0 +26 0 obj +[ + /PDF + /Text +] +endobj + +%% Original object ID: 19 0 +27 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 20 0 +28 0 obj +[ + /PDF + /Text +] +endobj + +xref +0 29 +0000000000 65535 f +0000000052 00000 n +0000000133 00000 n +0000000252 00000 n +0000000554 00000 n +0000000873 00000 n +0000000930 00000 n +0000000998 00000 n +0000001154 00000 n +0000001225 00000 n +0000001347 00000 n +0000001394 00000 n +0000001540 00000 n +0000001604 00000 n +0000001920 00000 n +0000001992 00000 n +0000002051 00000 n +0000002120 00000 n +0000002280 00000 n +0000002352 00000 n +0000002475 00000 n +0000002523 00000 n +0000002670 00000 n +0000002734 00000 n +0000003048 00000 n +0000003097 00000 n +0000003244 00000 n +0000003308 00000 n +0000003455 00000 n +trailer << + /Root 1 0 R + /Size 29 + /ID [<4866f3ccc81fb28dc4a27f0f976ce937><31415926535897932384626433832795>] +>> +startxref +3491 +%%EOF diff --git a/qpdf/qtest/qpdf/fxo-bigsmall.pdf b/qpdf/qtest/qpdf/fxo-bigsmall.pdf new file mode 100644 index 00000000..ff8b108a --- /dev/null +++ b/qpdf/qtest/qpdf/fxo-bigsmall.pdf @@ -0,0 +1,177 @@ +%PDF-1.3 +%¿÷¢þ +%QDF-1.0 + +%% Original object ID: 1 0 +1 0 obj +<< + /Pages 2 0 R + /Type /Catalog +>> +endobj + +%% Original object ID: 2 0 +2 0 obj +<< + /Count 2 + /Kids [ + 3 0 R + 4 0 R + ] + /Type /Pages +>> +endobj + +%% Page 1 +%% Original object ID: 3 0 +3 0 obj +<< + /Contents 5 0 R + /MediaBox [ + 0 + 0 + 612 + 792 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 7 0 R + >> + /ProcSet 8 0 R + >> + /Type /Page +>> +endobj + +%% Page 2 +%% Original object ID: 8 0 +4 0 obj +<< + /Contents 9 0 R + /MediaBox [ + 0 + 0 + 306 + 396 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 11 0 R + >> + /ProcSet 12 0 R + >> + /Type /Page +>> +endobj + +%% Contents for page 1 +%% Original object ID: 4 0 +5 0 obj +<< + /Length 6 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +6 0 obj +101 +endobj + +%% Original object ID: 6 0 +7 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 7 0 +8 0 obj +[ + /PDF + /Text +] +endobj + +%% Contents for page 2 +%% Original object ID: 9 0 +9 0 obj +<< + /Length 10 0 R +>> +stream +1 .5 0 RG +1 .5 0 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +10 0 obj +103 +endobj + +%% Original object ID: 11 0 +11 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 12 0 +12 0 obj +[ + /PDF + /Text +] +endobj + +xref +0 13 +0000000000 65535 f +0000000052 00000 n +0000000133 00000 n +0000000252 00000 n +0000000481 00000 n +0000000725 00000 n +0000000881 00000 n +0000000928 00000 n +0000001073 00000 n +0000001158 00000 n +0000001317 00000 n +0000001366 00000 n +0000001513 00000 n +trailer << + /Root 1 0 R + /Size 13 + /ID [<4866f3ccc81fb28dc4a27f0f976ce937><5b260ad1f0f4ccd7895374e61eff0d55>] +>> +startxref +1549 +%%EOF diff --git a/qpdf/qtest/qpdf/fxo-smallbig.pdf b/qpdf/qtest/qpdf/fxo-smallbig.pdf new file mode 100644 index 00000000..2e4061f9 --- /dev/null +++ b/qpdf/qtest/qpdf/fxo-smallbig.pdf @@ -0,0 +1,177 @@ +%PDF-1.3 +%¿÷¢þ +%QDF-1.0 + +%% Original object ID: 1 0 +1 0 obj +<< + /Pages 2 0 R + /Type /Catalog +>> +endobj + +%% Original object ID: 2 0 +2 0 obj +<< + /Count 2 + /Kids [ + 3 0 R + 4 0 R + ] + /Type /Pages +>> +endobj + +%% Page 1 +%% Original object ID: 3 0 +3 0 obj +<< + /Contents 5 0 R + /MediaBox [ + 0 + 0 + 306 + 396 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 7 0 R + >> + /ProcSet 8 0 R + >> + /Type /Page +>> +endobj + +%% Page 2 +%% Original object ID: 8 0 +4 0 obj +<< + /Contents 9 0 R + /MediaBox [ + 0 + 0 + 612 + 792 + ] + /Parent 2 0 R + /Resources << + /Font << + /F1 11 0 R + >> + /ProcSet 12 0 R + >> + /Type /Page +>> +endobj + +%% Contents for page 1 +%% Original object ID: 4 0 +5 0 obj +<< + /Length 6 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 36 345 Td + (small) Tj +ET +5 w +0 0 306 396 re s +153 198 30 30 re f +endstream +endobj + +6 0 obj +105 +endobj + +%% Original object ID: 6 0 +7 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 7 0 +8 0 obj +[ + /PDF + /Text +] +endobj + +%% Contents for page 2 +%% Original object ID: 9 0 +9 0 obj +<< + /Length 10 0 R +>> +stream +.5 0 .5 RG +.5 0 .5 rg +BT + /F1 24 Tf + 72 690 Td + (big) Tj +ET +5 w +0 0 612 792 re s +246 396 60 60 re f +endstream +endobj + +10 0 obj +103 +endobj + +%% Original object ID: 11 0 +11 0 obj +<< + /BaseFont /Helvetica + /Encoding /WinAnsiEncoding + /Name /F1 + /Subtype /Type1 + /Type /Font +>> +endobj + +%% Original object ID: 12 0 +12 0 obj +[ + /PDF + /Text +] +endobj + +xref +0 13 +0000000000 65535 f +0000000052 00000 n +0000000133 00000 n +0000000252 00000 n +0000000481 00000 n +0000000725 00000 n +0000000885 00000 n +0000000932 00000 n +0000001077 00000 n +0000001162 00000 n +0000001321 00000 n +0000001370 00000 n +0000001517 00000 n +trailer << + /Root 1 0 R + /Size 13 + /ID [<4866f3ccc81fb28dc4a27f0f976ce937><7ac42e786a05e6c1a5adfc1c1f33e15c>] +>> +startxref +1553 +%%EOF |