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

Unified Diff: testing/resources/hello_world.pdf

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 | « testing/resources/hello_world.in ('k') | testing/resources/weblinks.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/hello_world.pdf
diff --git a/testing/resources/bug_57.pdf b/testing/resources/hello_world.pdf
similarity index 71%
copy from testing/resources/bug_57.pdf
copy to testing/resources/hello_world.pdf
index d954c43f54f11d849b98694cb4768b79acd06104..84e77057cb7d5b1d52e074dbb1a4819119bff1c4 100644
--- a/testing/resources/bug_57.pdf
+++ b/testing/resources/hello_world.pdf
@@ -17,9 +17,10 @@ endobj
/Resources <<
/Font <<
/F1 4 0 R
+ /F2 5 0 R
>>
>>
- /Contents 5 0 R
+ /Contents 6 0 R
>>
endobj
4 0 obj <<
@@ -28,30 +29,38 @@ endobj
/BaseFont /Times-Roman
>>
endobj
-% page content with streamlength past end-of-file.
5 0 obj <<
- /Length 9999
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Helvetica
+>>
+endobj
+6 0 obj <<
>>
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
xref
-0 6
+0 7
0000000000 65536 f
0000000015 00000 n
0000000061 00000 n
0000000154 00000 n
-0000000280 00000 n
-0000000409 00000 n
+0000000296 00000 n
+0000000374 00000 n
+0000000450 00000 n
trailer <<
/Size 6
/Root 1 0 R
>>
startxref
-506
+571
%%EOF
« no previous file with comments | « testing/resources/hello_world.in ('k') | testing/resources/weblinks.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698