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

Unified Diff: testing/resources/pixel/bug_524043_2.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_2.in
diff --git a/testing/resources/hello_world.in b/testing/resources/pixel/bug_524043_2.in
similarity index 70%
copy from testing/resources/hello_world.in
copy to testing/resources/pixel/bug_524043_2.in
index 19fce0ce335de77ea31e295a87025eb52f65110e..0ee43da1064b0d7b84ef03b14e7298a69a8812a4 100644
--- a/testing/resources/hello_world.in
+++ b/testing/resources/pixel/bug_524043_2.in
@@ -34,16 +34,22 @@ endobj
/BaseFont /Helvetica
>>
endobj
+% Case 2:
+% /Length incorrectly identifies middle of stream.
+% The stream is blocked by the keyword "endstream"
+% Only the text before the keyword can be rendered.
{{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
+(It's wrong when you see the text!) Tj
ET
endstream
endobj
« no previous file with comments | « testing/resources/pixel/bug_524043_1_expected.pdf.0.png ('k') | testing/resources/pixel/bug_524043_2_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698