mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-07-30 10:21:46 +08:00
Take the relevant part of the PDF from the bug and combine it with hello_world.pdf into a minimal test case. Demonstrate FPDFText_GetText() currently cannot return the valid characters, and FPDFText_FindStart() cannot find them either. Bug: 425244539 Change-Id: Ic90d64566e45e9c3ea39ca5132b0533f678a5af8 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/133550 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
48 lines
590 B
Plaintext
48 lines
590 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
|
|
/Resources <<
|
|
/Font <<
|
|
/F1 4 0 R
|
|
>>
|
|
>>
|
|
/Contents 5 0 R
|
|
>>
|
|
endobj
|
|
{{object 4 0}} <<
|
|
/Type /Font
|
|
/Subtype /Type1
|
|
/BaseFont /Times-Roman
|
|
>>
|
|
endobj
|
|
{{object 5 0}} <<
|
|
{{streamlen}}
|
|
>>
|
|
stream
|
|
q 1 0 0 1 20 100 cm
|
|
BT
|
|
/F1 12 Tf
|
|
[<00000000000000000000000000000000000000000000>] TJ
|
|
[(hello)] TJ
|
|
ET
|
|
Q
|
|
endstream
|
|
endobj
|
|
{{xref}}
|
|
{{trailer}}
|
|
{{startxref}}
|
|
%%EOF
|