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

Side by Side Diff: testing/resources/weblinks.pdf

Issue 878333003: Cover fpdftext.h API with embeddertests. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Add a couple of comments about NULs and lengths. Created 5 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 %PDF-1.7
2 % ò¤ô
3 1 0 obj <<
4 /Type /Catalog
5 /Pages 2 0 R
6 >>
7 2 0 obj <<
8 /Type /Pages
9 /MediaBox [ 0 0 600 600 ]
10 /Count 1
11 /Kids [ 3 0 R ]
12 >>
13 endobj
14 3 0 obj <<
15 /Type /Page
16 /Parent 2 0 R
17 /Resources <<
18 /Font <<
19 /F1 4 0 R
20 /F2 5 0 R
21 >>
22 >>
23 /Contents 6 0 R
24 >>
25 endobj
26 4 0 obj <<
27 /Type /Font
28 /Subtype /Type1
29 /BaseFont /Times-Roman
30 >>
31 endobj
32 4 0 obj <<
33 /Type /Font
34 /Subtype /Type1
35 /BaseFont /Helvetica
36 >>
37 endobj
38 6 0 obj <<
39 >>
40 stream
41 BT
42 /F1 12 Tf
43 50 50 Td
44 (Hello, world! This is not a link.) Tj
45 0 50 Td
46 (http://example.com?q=foo. This might be a link.) Tj
47 /F2 16 Tf
48 0 50 Td
49 (https://example.com?q=foo. This might be a link in another font.) Tj
50 0 50 Td
51 (javascript:alert(0). This might be a JS link.) Tj
52 0 50 Td
53 (ftp://example.org. This might be a FTP link.) Tj
54 0 50 Td
55 (file:///home/foo/example.txt. This might be a file link.) Tj
56 0 50 Td
57 (This is a rather long and pointless piece of non-link text.) Tj
58 ET
59 endstream
60 endobj
61 xref
62 0 7
63 0000000000 65536 f
64 0000000015 00000 n
65 0000000061 00000 n
66 0000000154 00000 n
67 0000000374 00000 n
68 0000000000 65536 f
69 0000000450 00000 n
70 trailer <<
71 /Size 6
72 /Root 1 0 R
73 >>
74 startxref
75 963
76 %%EOF
OLDNEW
« fpdfsdk/src/fpdftext_embeddertest.cpp ('K') | « testing/resources/weblinks.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698