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

Unified Diff: testing/resources/pixel/bug_524043_1.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_1.in
diff --git a/testing/resources/hello_world.in b/testing/resources/pixel/bug_524043_1.in
similarity index 75%
copy from testing/resources/hello_world.in
copy to testing/resources/pixel/bug_524043_1.in
index 19fce0ce335de77ea31e295a87025eb52f65110e..61ac6f4bb27b80dd3d4261cc23b9a83fa7a17ce3 100644
--- a/testing/resources/hello_world.in
+++ b/testing/resources/pixel/bug_524043_1.in
@@ -34,16 +34,21 @@ endobj
/BaseFont /Helvetica
>>
endobj
+% Case 1:
+% /Length identifies intended end of stream, despite embedded keywords.
+% Both should render as text.
{{object 6 0}} <<
+ /Length 107
>>
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
« no previous file with comments | « core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp ('k') | testing/resources/pixel/bug_524043_1_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698