diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-07-15 10:10:53 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-07-15 10:10:53 -0700 |
commit | 97dd3fec106ac8a945e03ed1509af0a8b73da993 (patch) | |
tree | 5b748a624e1c38c18ff2af484a7e8604434a0ed5 /testing/resources/pixel | |
parent | 5bd88ec07e79215400777f3095c6843e0627cade (diff) | |
download | pdfium-97dd3fec106ac8a945e03ed1509af0a8b73da993.tar.xz |
Revert "Add test case for parsing endobj keywords."
This reverts commit 5bd88ec07e79215400777f3095c6843e0627cade.
Diffstat (limited to 'testing/resources/pixel')
39 files changed, 0 insertions, 1708 deletions
diff --git a/testing/resources/pixel/endobj1.in b/testing/resources/pixel/endobj1.in deleted file mode 100644 index 3e7f5e6bc5..0000000000 --- a/testing/resources/pixel/endobj1.in +++ /dev/null @@ -1,60 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 1: -% /Length identifies intended end of stream, despite embedded keywords. -% Both should render as text. -{{object 6 0}} << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj1.pdf b/testing/resources/pixel/endobj1.pdf deleted file mode 100644 index 918e0a60a3..0000000000 --- a/testing/resources/pixel/endobj1.pdf +++ /dev/null @@ -1,70 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 1: -% /Length identifies intended end of stream, despite embedded keywords. -% Both should render as text. -6 0 obj << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000566 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -715 -%%EOF diff --git a/testing/resources/pixel/endobj10.in b/testing/resources/pixel/endobj10.in deleted file mode 100644 index d89132a97c..0000000000 --- a/testing/resources/pixel/endobj10.in +++ /dev/null @@ -1,59 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 10: -% /Length identifies end of stream, and embedded endstream/endobj -% keyword to trip us up, but missing endstream keyword. -{{object 6 0}} << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endstream is not text) Tj -0 50 Td -/F2 13 Tf -(endobj is not text) Tj -ET -endobj -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj10.pdf b/testing/resources/pixel/endobj10.pdf deleted file mode 100644 index 7d3f25239f..0000000000 --- a/testing/resources/pixel/endobj10.pdf +++ /dev/null @@ -1,69 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 10: -% /Length identifies end of stream, and embedded endstream/endobj -% keyword to trip us up, but missing endstream keyword. -6 0 obj << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endstream is not text) Tj -0 50 Td -/F2 13 Tf -(endobj is not text) Tj -ET -endobj -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000587 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -722 -%%EOF diff --git a/testing/resources/pixel/endobj10_expected.pdf.0.png b/testing/resources/pixel/endobj10_expected.pdf.0.png Binary files differdeleted file mode 100644 index 3edcc2db89..0000000000 --- a/testing/resources/pixel/endobj10_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj11.in b/testing/resources/pixel/endobj11.in deleted file mode 100644 index 6bccbe5f0e..0000000000 --- a/testing/resources/pixel/endobj11.in +++ /dev/null @@ -1,65 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 11: -% /Length points past intended end of stream, with embedded keywords. -% Both should render as text. -{{object 6 0}} << - /Length 128 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj - -% blah blah blah. -% blah blah blah. -% blah blah blah. - -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj11.pdf b/testing/resources/pixel/endobj11.pdf deleted file mode 100644 index e72cff8698..0000000000 --- a/testing/resources/pixel/endobj11.pdf +++ /dev/null @@ -1,75 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 11: -% /Length points past intended end of stream, with embedded keywords. -% Both should render as text. -6 0 obj << - /Length 128 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj - -% blah blah blah. -% blah blah blah. -% blah blah blah. - -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000565 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -771 -%%EOF diff --git a/testing/resources/pixel/endobj11_expected.pdf.0.png b/testing/resources/pixel/endobj11_expected.pdf.0.png Binary files differdeleted file mode 100644 index 3edcc2db89..0000000000 --- a/testing/resources/pixel/endobj11_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj12.in b/testing/resources/pixel/endobj12.in deleted file mode 100644 index 1a89b31650..0000000000 --- a/testing/resources/pixel/endobj12.in +++ /dev/null @@ -1,65 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 11: -% /Length points well past intended end of stream, with embedded keywords. -% Both should render as text. -{{object 6 0}} << - /Length 210 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj - -% blah blah blah. -% blah blah blah. -% blah blah blah. - -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj12.pdf b/testing/resources/pixel/endobj12.pdf deleted file mode 100644 index 3d07ab52fb..0000000000 --- a/testing/resources/pixel/endobj12.pdf +++ /dev/null @@ -1,75 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 11: -% /Length points well past intended end of stream, with embedded keywords. -% Both should render as text. -6 0 obj << - /Length 210 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj - -% blah blah blah. -% blah blah blah. -% blah blah blah. - -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000570 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -776 -%%EOF diff --git a/testing/resources/pixel/endobj12_expected.pdf.0.png b/testing/resources/pixel/endobj12_expected.pdf.0.png Binary files differdeleted file mode 100644 index 3edcc2db89..0000000000 --- a/testing/resources/pixel/endobj12_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj13.in b/testing/resources/pixel/endobj13.in deleted file mode 100644 index 81623a2b03..0000000000 --- a/testing/resources/pixel/endobj13.in +++ /dev/null @@ -1,65 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 11: -% /Length points well past EOF, with embedded keywords. -% Both should render as text. -{{object 6 0}} << - /Length 1000 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj - -% blah blah blah. -% blah blah blah. -% blah blah blah. - -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj13.pdf b/testing/resources/pixel/endobj13.pdf deleted file mode 100644 index 8193e53f56..0000000000 --- a/testing/resources/pixel/endobj13.pdf +++ /dev/null @@ -1,75 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 11: -% /Length points well past EOF, with embedded keywords. -% Both should render as text. -6 0 obj << - /Length 1000 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj - -% blah blah blah. -% blah blah blah. -% blah blah blah. - -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000551 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -758 -%%EOF diff --git a/testing/resources/pixel/endobj13_expected.pdf.0.png b/testing/resources/pixel/endobj13_expected.pdf.0.png Binary files differdeleted file mode 100644 index 3edcc2db89..0000000000 --- a/testing/resources/pixel/endobj13_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj1_expected.pdf.0.png b/testing/resources/pixel/endobj1_expected.pdf.0.png Binary files differdeleted file mode 100644 index a044bb0c37..0000000000 --- a/testing/resources/pixel/endobj1_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj2.in b/testing/resources/pixel/endobj2.in deleted file mode 100644 index 341fe7edb3..0000000000 --- a/testing/resources/pixel/endobj2.in +++ /dev/null @@ -1,59 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 4: -% /Length identifies intended end of stream, but whitespace rather than -% newline following the stream keyword. -{{object 6 0}} << - /Length 97 ->> -stream BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj2.pdf b/testing/resources/pixel/endobj2.pdf deleted file mode 100644 index 6c5982a315..0000000000 --- a/testing/resources/pixel/endobj2.pdf +++ /dev/null @@ -1,69 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 4: -% /Length identifies intended end of stream, but whitespace rather than -% newline following the stream keyword. -6 0 obj << - /Length 97 ->> -stream BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000576 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -725 -%%EOF diff --git a/testing/resources/pixel/endobj2_expected.pdf.0.png b/testing/resources/pixel/endobj2_expected.pdf.0.png Binary files differdeleted file mode 100644 index 3edcc2db89..0000000000 --- a/testing/resources/pixel/endobj2_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj3.in b/testing/resources/pixel/endobj3.in deleted file mode 100644 index 11f5a99480..0000000000 --- a/testing/resources/pixel/endobj3.in +++ /dev/null @@ -1,59 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 3: -% /Length identifies intended end of stream, but whitespace rather than -% newline following the endstream keyword. -{{object 6 0}} << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream endobj -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj3.pdf b/testing/resources/pixel/endobj3.pdf deleted file mode 100644 index 65f3b1335d..0000000000 --- a/testing/resources/pixel/endobj3.pdf +++ /dev/null @@ -1,69 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 3: -% /Length identifies intended end of stream, but whitespace rather than -% newline following the endstream keyword. -6 0 obj << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream endobj -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000579 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -728 -%%EOF diff --git a/testing/resources/pixel/endobj3_expected.pdf.0.png b/testing/resources/pixel/endobj3_expected.pdf.0.png Binary files differdeleted file mode 100644 index a044bb0c37..0000000000 --- a/testing/resources/pixel/endobj3_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj4.in b/testing/resources/pixel/endobj4.in deleted file mode 100644 index a49a5c2775..0000000000 --- a/testing/resources/pixel/endobj4.in +++ /dev/null @@ -1,59 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 5: -% /Length identifies intended end of stream, but whitespace rather than -% newline following the endobj keyword. -{{object 6 0}} << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -endobj {{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj4.pdf b/testing/resources/pixel/endobj4.pdf deleted file mode 100644 index 3758492eb0..0000000000 --- a/testing/resources/pixel/endobj4.pdf +++ /dev/null @@ -1,69 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 5: -% /Length identifies intended end of stream, but whitespace rather than -% newline following the endobj keyword. -6 0 obj << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endstream -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000576 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -718 -%%EOF diff --git a/testing/resources/pixel/endobj4_expected.pdf.0.png b/testing/resources/pixel/endobj4_expected.pdf.0.png Binary files differdeleted file mode 100644 index a044bb0c37..0000000000 --- a/testing/resources/pixel/endobj4_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj5.in b/testing/resources/pixel/endobj5.in deleted file mode 100644 index dce87954ec..0000000000 --- a/testing/resources/pixel/endobj5.in +++ /dev/null @@ -1,60 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 5: -% /Length incorrectly identifies middle of stream, no confusing -% keywords to trip us up. -{{object 6 0}} << - /Length 50 ->> -stream -BT -20 50 Td -/F1 12 Tf -(xxxxxx is text) Tj -0 50 Td -/F2 13 Tf -(yyyyyyyyy after bad /Length) Tj -ET -endstream -endobj -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj5.pdf b/testing/resources/pixel/endobj5.pdf deleted file mode 100644 index 02c99f3d54..0000000000 --- a/testing/resources/pixel/endobj5.pdf +++ /dev/null @@ -1,70 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 5: -% /Length incorrectly identifies middle of stream, no confusing -% keywords to trip us up. -6 0 obj << - /Length 50 ->> -stream -BT -20 50 Td -/F1 12 Tf -(xxxxxx is text) Tj -0 50 Td -/F2 13 Tf -(yyyyyyyyy after bad /Length) Tj -ET -endstream -endobj -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000554 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -701 -%%EOF diff --git a/testing/resources/pixel/endobj5_expected.pdf.0.png b/testing/resources/pixel/endobj5_expected.pdf.0.png Binary files differdeleted file mode 100644 index 87f2a9b32d..0000000000 --- a/testing/resources/pixel/endobj5_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj6.in b/testing/resources/pixel/endobj6.in deleted file mode 100644 index 53f546f519..0000000000 --- a/testing/resources/pixel/endobj6.in +++ /dev/null @@ -1,60 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 6: -% /Length incorrectly identifies middle of stream, and confusing -% keywords to trip us up. Should only render |endobj| as text. -{{object 6 0}} << - /Length 50 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream after bad /Length) Tj -ET -endstream -endobj -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj6.pdf b/testing/resources/pixel/endobj6.pdf deleted file mode 100644 index 1e0006e99c..0000000000 --- a/testing/resources/pixel/endobj6.pdf +++ /dev/null @@ -1,70 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 6: -% /Length incorrectly identifies middle of stream, and confusing -% keywords to trip us up. Should only render |endobj| as text. -6 0 obj << - /Length 50 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream after bad /Length) Tj -ET -endstream -endobj -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000593 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -740 -%%EOF diff --git a/testing/resources/pixel/endobj6_expected.pdf.0.png b/testing/resources/pixel/endobj6_expected.pdf.0.png Binary files differdeleted file mode 100644 index 3edcc2db89..0000000000 --- a/testing/resources/pixel/endobj6_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj7.in b/testing/resources/pixel/endobj7.in deleted file mode 100644 index 747514fa80..0000000000 --- a/testing/resources/pixel/endobj7.in +++ /dev/null @@ -1,60 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 7: -% /Length identifies intended end of stream, but endstream/endobj -% keywords swapped. Should render |endobj| and |endstream| as text. -{{object 6 0}} << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endobj -endstream -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj7.pdf b/testing/resources/pixel/endobj7.pdf deleted file mode 100644 index 787b61ab51..0000000000 --- a/testing/resources/pixel/endobj7.pdf +++ /dev/null @@ -1,70 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 7: -% /Length identifies intended end of stream, but endstream/endobj -% keywords swapped. Should render |endobj| and |endstream| as text. -6 0 obj << - /Length 97 ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is text per /Length) Tj -ET -endobj -endstream -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000598 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -747 -%%EOF diff --git a/testing/resources/pixel/endobj7_expected.pdf.0.png b/testing/resources/pixel/endobj7_expected.pdf.0.png Binary files differdeleted file mode 100644 index 3edcc2db89..0000000000 --- a/testing/resources/pixel/endobj7_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj8.in b/testing/resources/pixel/endobj8.in deleted file mode 100644 index 66892e239a..0000000000 --- a/testing/resources/pixel/endobj8.in +++ /dev/null @@ -1,59 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 8: -% No /Length to identify end of stream, but embedded endobj/endstream -% keywords to trip us up. Should only render |endobj| as text. -{{object 6 0}} << ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is not text) Tj -ET -endstream -endobj -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj8.pdf b/testing/resources/pixel/endobj8.pdf deleted file mode 100644 index 26f70adbb9..0000000000 --- a/testing/resources/pixel/endobj8.pdf +++ /dev/null @@ -1,69 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 8: -% No /Length to identify end of stream, but embedded endobj/endstream -% keywords to trip us up. Should only render |endobj| as text. -6 0 obj << ->> -stream -BT -20 50 Td -/F1 12 Tf -(endobj is text) Tj -0 50 Td -/F2 13 Tf -(endstream is not text) Tj -ET -endstream -endobj -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000598 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -726 -%%EOF diff --git a/testing/resources/pixel/endobj8_expected.pdf.0.png b/testing/resources/pixel/endobj8_expected.pdf.0.png Binary files differdeleted file mode 100644 index 3edcc2db89..0000000000 --- a/testing/resources/pixel/endobj8_expected.pdf.0.png +++ /dev/null diff --git a/testing/resources/pixel/endobj9.in b/testing/resources/pixel/endobj9.in deleted file mode 100644 index fb156faa9f..0000000000 --- a/testing/resources/pixel/endobj9.in +++ /dev/null @@ -1,59 +0,0 @@ -{{header}} -{{object 1 0}} << - /Type /Catalog - /Pages 2 0 R ->> -{{object 2 0}} << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -{{object 3 0}} << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -{{object 4 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -{{object 5 0}} << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 9: -% No /Length to identify end of stream, but embedded endstream/endobj -% keyword to trip us up. Should render nothing as text. -{{object 6 0}} << ->> -stream -BT -20 50 Td -/F1 12 Tf -(endstream is not text) Tj -0 50 Td -/F2 13 Tf -(endobj is not text) Tj -ET -endstream -endobj -{{xref}} -trailer << - /Size 6 - /Root 1 0 R ->> -{{startxref}} -%%EOF diff --git a/testing/resources/pixel/endobj9.pdf b/testing/resources/pixel/endobj9.pdf deleted file mode 100644 index b08595631b..0000000000 --- a/testing/resources/pixel/endobj9.pdf +++ /dev/null @@ -1,69 +0,0 @@ -%PDF-1.7 -% ò¤ô -1 0 obj << - /Type /Catalog - /Pages 2 0 R ->> -2 0 obj << - /Type /Pages - /MediaBox [ 0 0 200 200 ] - /Count 1 - /Kids [ 3 0 R ] ->> -endobj -3 0 obj << - /Type /Page - /Parent 2 0 R - /Resources << - /Font << - /F1 4 0 R - /F2 5 0 R - >> - >> - /Contents 6 0 R ->> -endobj -4 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Times-Roman ->> -endobj -5 0 obj << - /Type /Font - /Subtype /Type1 - /BaseFont /Helvetica ->> -endobj -% Case 9: -% No /Length to identify end of stream, but embedded endstream/endobj -% keyword to trip us up. Should render nothing as text. -6 0 obj << ->> -stream -BT -20 50 Td -/F1 12 Tf -(endstream is not text) Tj -0 50 Td -/F2 13 Tf -(endobj is not text) Tj -ET -endstream -endobj -xref -0 7 -0000000000 65535 f -0000000015 00000 n -0000000061 00000 n -0000000154 00000 n -0000000296 00000 n -0000000374 00000 n -0000000591 00000 n -trailer << - /Size 6 - /Root 1 0 R ->> -startxref -723 -%%EOF diff --git a/testing/resources/pixel/endobj9_expected.pdf.0.png b/testing/resources/pixel/endobj9_expected.pdf.0.png Binary files differdeleted file mode 100644 index 3edcc2db89..0000000000 --- a/testing/resources/pixel/endobj9_expected.pdf.0.png +++ /dev/null |