mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-08-02 05:04:39 +08:00
Add a test to show the editing steps to add text to a particular page renders correctly in memory, but the text is missing when saved. Thanks to prior investigations on the bug, there was already some embedder test code and the problematic portion of the sample PDF has already been identified. Bug: 461845674 Change-Id: Ib3a7ecf913d0c6693e5f28bc25e8a8a33d4b88a8 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/144790 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Andy Phan <andyphan@chromium.org>
32 lines
380 B
Plaintext
32 lines
380 B
Plaintext
{{header}}
|
|
{{object 1 0}} <<
|
|
/Type /Catalog
|
|
/Pages 2 0 R
|
|
>>
|
|
endobj
|
|
{{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
|
|
/Contents 4 0 R
|
|
>>
|
|
endobj
|
|
{{object 4 0}} <<
|
|
{{streamlen}}
|
|
>>
|
|
stream
|
|
1 0 0 1 111 70 cm
|
|
1 0 23 11 re W n
|
|
endstream
|
|
endobj
|
|
{{xref}}
|
|
{{trailer}}
|
|
{{startxref}}
|
|
%%EOF
|