summaryrefslogtreecommitdiff
path: root/testing/resources/hello_world.in
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-01-28 15:49:13 -0800
committerTom Sepez <tsepez@chromium.org>2015-01-28 15:49:13 -0800
commit526f6d5279141b270898e7e07ded7b4ce021d0d6 (patch)
treecaab22fb2b67b9e8edb268cb81263b10cae1dd25 /testing/resources/hello_world.in
parent26b8a5b56c255618097cb3a26f640ce6cafce56f (diff)
downloadpdfium-526f6d5279141b270898e7e07ded7b4ce021d0d6.tar.xz
Cover fpdftext.h API with embeddertests.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/878333003
Diffstat (limited to 'testing/resources/hello_world.in')
-rw-r--r--testing/resources/hello_world.in56
1 files changed, 56 insertions, 0 deletions
diff --git a/testing/resources/hello_world.in b/testing/resources/hello_world.in
new file mode 100644
index 0000000000..19fce0ce33
--- /dev/null
+++ b/testing/resources/hello_world.in
@@ -0,0 +1,56 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+>>
+{{object 2 0}} <<
+ /Type /Pages
+ /MediaBox [ 0 0 200 200 ]
+ /Count 1
+ /Kids [ 3 0 R ]
+>>
+endobj
+{{object 3 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /Resources <<
+ /Font <<
+ /F1 4 0 R
+ /F2 5 0 R
+ >>
+ >>
+ /Contents 6 0 R
+>>
+endobj
+{{object 4 0}} <<
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Times-Roman
+>>
+endobj
+{{object 5 0}} <<
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Helvetica
+>>
+endobj
+{{object 6 0}} <<
+>>
+stream
+BT
+20 50 Td
+/F1 12 Tf
+(Hello, world!) Tj
+0 50 Td
+/F2 16 Tf
+(Goodbye, world!) Tj
+ET
+endstream
+endobj
+{{xref}}
+trailer <<
+ /Size 6
+ /Root 1 0 R
+>>
+{{startxref}}
+%%EOF