From b85544053495270bb54b55c79124f5318737fc8b Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 28 Oct 2015 16:28:38 -0400 Subject: Merge to XFA: Revert "Add test case for parsing endobj keywords." This reverts commit 5bd88ec07e79215400777f3095c6843e0627cade. (cherry picked from commit 97dd3fec106ac8a945e03ed1509af0a8b73da993) R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1430533003 . --- testing/resources/pixel/endobj1.in | 60 ------------------- testing/resources/pixel/endobj10.in | 59 ------------------- .../resources/pixel/endobj10_expected.pdf.0.png | Bin 590 -> 0 bytes testing/resources/pixel/endobj11.in | 65 --------------------- .../resources/pixel/endobj11_expected.pdf.0.png | Bin 590 -> 0 bytes testing/resources/pixel/endobj12.in | 65 --------------------- .../resources/pixel/endobj12_expected.pdf.0.png | Bin 590 -> 0 bytes testing/resources/pixel/endobj13.in | 65 --------------------- .../resources/pixel/endobj13_expected.pdf.0.png | Bin 590 -> 0 bytes testing/resources/pixel/endobj1_expected.pdf.0.png | Bin 5433 -> 0 bytes testing/resources/pixel/endobj2.in | 59 ------------------- testing/resources/pixel/endobj2_expected.pdf.0.png | Bin 590 -> 0 bytes testing/resources/pixel/endobj3.in | 59 ------------------- testing/resources/pixel/endobj3_expected.pdf.0.png | Bin 5433 -> 0 bytes testing/resources/pixel/endobj4.in | 59 ------------------- testing/resources/pixel/endobj4_expected.pdf.0.png | Bin 5433 -> 0 bytes testing/resources/pixel/endobj5.in | 60 ------------------- testing/resources/pixel/endobj5_expected.pdf.0.png | Bin 4508 -> 0 bytes testing/resources/pixel/endobj6.in | 60 ------------------- testing/resources/pixel/endobj6_expected.pdf.0.png | Bin 590 -> 0 bytes testing/resources/pixel/endobj7.in | 60 ------------------- testing/resources/pixel/endobj7_expected.pdf.0.png | Bin 590 -> 0 bytes testing/resources/pixel/endobj8.in | 59 ------------------- testing/resources/pixel/endobj8_expected.pdf.0.png | Bin 590 -> 0 bytes testing/resources/pixel/endobj9.in | 59 ------------------- testing/resources/pixel/endobj9_expected.pdf.0.png | Bin 590 -> 0 bytes 26 files changed, 789 deletions(-) delete mode 100644 testing/resources/pixel/endobj1.in delete mode 100644 testing/resources/pixel/endobj10.in delete mode 100644 testing/resources/pixel/endobj10_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj11.in delete mode 100644 testing/resources/pixel/endobj11_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj12.in delete mode 100644 testing/resources/pixel/endobj12_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj13.in delete mode 100644 testing/resources/pixel/endobj13_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj1_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj2.in delete mode 100644 testing/resources/pixel/endobj2_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj3.in delete mode 100644 testing/resources/pixel/endobj3_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj4.in delete mode 100644 testing/resources/pixel/endobj4_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj5.in delete mode 100644 testing/resources/pixel/endobj5_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj6.in delete mode 100644 testing/resources/pixel/endobj6_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj7.in delete mode 100644 testing/resources/pixel/endobj7_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj8.in delete mode 100644 testing/resources/pixel/endobj8_expected.pdf.0.png delete mode 100644 testing/resources/pixel/endobj9.in delete mode 100644 testing/resources/pixel/endobj9_expected.pdf.0.png (limited to 'testing') 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/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_expected.pdf.0.png b/testing/resources/pixel/endobj10_expected.pdf.0.png deleted file mode 100644 index 3edcc2db89..0000000000 Binary files a/testing/resources/pixel/endobj10_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj11_expected.pdf.0.png deleted file mode 100644 index 3edcc2db89..0000000000 Binary files a/testing/resources/pixel/endobj11_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj12_expected.pdf.0.png deleted file mode 100644 index 3edcc2db89..0000000000 Binary files a/testing/resources/pixel/endobj12_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj13_expected.pdf.0.png deleted file mode 100644 index 3edcc2db89..0000000000 Binary files a/testing/resources/pixel/endobj13_expected.pdf.0.png and /dev/null differ diff --git a/testing/resources/pixel/endobj1_expected.pdf.0.png b/testing/resources/pixel/endobj1_expected.pdf.0.png deleted file mode 100644 index a044bb0c37..0000000000 Binary files a/testing/resources/pixel/endobj1_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj2_expected.pdf.0.png deleted file mode 100644 index 3edcc2db89..0000000000 Binary files a/testing/resources/pixel/endobj2_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj3_expected.pdf.0.png deleted file mode 100644 index a044bb0c37..0000000000 Binary files a/testing/resources/pixel/endobj3_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj4_expected.pdf.0.png deleted file mode 100644 index a044bb0c37..0000000000 Binary files a/testing/resources/pixel/endobj4_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj5_expected.pdf.0.png deleted file mode 100644 index 87f2a9b32d..0000000000 Binary files a/testing/resources/pixel/endobj5_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj6_expected.pdf.0.png deleted file mode 100644 index 3edcc2db89..0000000000 Binary files a/testing/resources/pixel/endobj6_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj7_expected.pdf.0.png deleted file mode 100644 index 3edcc2db89..0000000000 Binary files a/testing/resources/pixel/endobj7_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj8_expected.pdf.0.png deleted file mode 100644 index 3edcc2db89..0000000000 Binary files a/testing/resources/pixel/endobj8_expected.pdf.0.png and /dev/null differ 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_expected.pdf.0.png b/testing/resources/pixel/endobj9_expected.pdf.0.png deleted file mode 100644 index 3edcc2db89..0000000000 Binary files a/testing/resources/pixel/endobj9_expected.pdf.0.png and /dev/null differ -- cgit v1.2.3