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

Unified Diff: testing/resources/hello_world.in

Issue 878333003: Cover fpdftext.h API with embeddertests. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Non-zero initial paramenters in another place. Created 5 years, 11 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
« no previous file with comments | « fpdfsdk/src/fpdftext_embeddertest.cpp ('k') | testing/resources/hello_world.pdf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/hello_world.in
diff --git a/testing/resources/bug_57.in b/testing/resources/hello_world.in
similarity index 75%
copy from testing/resources/bug_57.in
copy to testing/resources/hello_world.in
index 0825efdfa879b0fd802011e2451b1a4d89df1781..19fce0ce335de77ea31e295a87025eb52f65110e 100644
--- a/testing/resources/bug_57.in
+++ b/testing/resources/hello_world.in
@@ -16,9 +16,10 @@ endobj
/Resources <<
/Font <<
/F1 4 0 R
+ /F2 5 0 R
>>
>>
- /Contents 5 0 R
+ /Contents 6 0 R
>>
endobj
{{object 4 0}} <<
@@ -27,15 +28,22 @@ endobj
/BaseFont /Times-Roman
>>
endobj
-% page content with streamlength past end-of-file.
{{object 5 0}} <<
- /Length 9999
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Helvetica
+>>
+endobj
+{{object 6 0}} <<
>>
stream
BT
-70 50 TD
+20 50 Td
/F1 12 Tf
(Hello, world!) Tj
+0 50 Td
+/F2 16 Tf
+(Goodbye, world!) Tj
ET
endstream
endobj
« no previous file with comments | « fpdfsdk/src/fpdftext_embeddertest.cpp ('k') | testing/resources/hello_world.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698