mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-07-30 10:21:46 +08:00
Add a test for 42271133, where grayscale colorspaces turn black when regenerating streams - Add FPDFSaveEmbedderTest::Bug42271133 which regenerates streams and checks if grayscale paths were turned black - Add test file Bug: 42271133 Change-Id: I5d3cc2ebf181ca4531a536c726478a214cd4e023 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/118890 Commit-Queue: Thomas Sepez <tsepez@google.com> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Thomas Sepez <tsepez@google.com> Reviewed-by: Lei Zhang <thestig@chromium.org>
53 lines
582 B
Plaintext
53 lines
582 B
Plaintext
{{header}}
|
|
{{object 1 0}} <<
|
|
/Type /Catalog
|
|
/Pages 2 0 R
|
|
>>
|
|
endobj
|
|
{{object 2 0}} <<
|
|
/Type /Pages
|
|
/Count 1
|
|
/Kids [3 0 R]
|
|
>>
|
|
endobj
|
|
{{object 3 0}} <<
|
|
/Type /Page
|
|
/Parent 2 0 R
|
|
/Contents 4 0 R
|
|
/MediaBox [0 0 612 792]
|
|
/Resources <<
|
|
/Font <<
|
|
/F1 5 0 R
|
|
>>
|
|
>>
|
|
>>
|
|
endobj
|
|
{{object 4 0}} <<
|
|
{{streamlen}}
|
|
>>
|
|
stream
|
|
q
|
|
BT
|
|
20 50 Td
|
|
/F1 12 Tf
|
|
(Hello, world!) Tj
|
|
ET
|
|
q
|
|
.70588 g
|
|
27.18 580.299 557.58 153.567 re
|
|
f
|
|
Q
|
|
Q
|
|
endstream
|
|
endobj
|
|
{{object 5 0}} <<
|
|
/Type /Font
|
|
/Subtype /Type1
|
|
/BaseFont /Times-Roman
|
|
>>
|
|
endobj
|
|
{{xref}}
|
|
{{trailer}}
|
|
{{startxref}}
|
|
%%EOF
|