Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: testing/resources/pixel/bug_524043_4.in

Issue 1365253003: Merge to XFA: Fix the issue that pdfium swallows 'fi' or 'ff' in some pdf files (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: testing/resources/pixel/bug_524043_4.in
diff --git a/testing/resources/hello_world.in b/testing/resources/pixel/bug_524043_4.in
similarity index 70%
copy from testing/resources/hello_world.in
copy to testing/resources/pixel/bug_524043_4.in
index 19fce0ce335de77ea31e295a87025eb52f65110e..6cdb3d18a72dc4ecfd957adaef6c97f6d31d090c 100644
--- a/testing/resources/hello_world.in
+++ b/testing/resources/pixel/bug_524043_4.in
@@ -34,18 +34,23 @@ endobj
/BaseFont /Helvetica
>>
endobj
+% Case 4:
+% /Length incorrectly identifies middle of stream.
+% "endstream." shouldn't block the stream.
+% Both should render as text even "endstream" is missing.
{{object 6 0}} <<
+ /Length 87
>>
stream
BT
20 50 Td
/F1 12 Tf
-(Hello, world!) Tj
+(endobj is text) Tj
+endstream.
0 50 Td
-/F2 16 Tf
-(Goodbye, world!) Tj
+/F2 13 Tf
+(endstream is text per /Length) Tj
ET
-endstream
endobj
{{xref}}
trailer <<
« no previous file with comments | « testing/resources/pixel/bug_524043_3_expected.pdf.0.png ('k') | testing/resources/pixel/bug_524043_4_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698