pdfium/testing/resources/weblinks.in
Lei Zhang bdb330ee4d Fix the Size trailer entry in hand written PDFs.
Change-Id: Ib84cc570c2ffaf9fdd49d32bc12c7e6197e130c1
Reviewed-on: https://pdfium-review.googlesource.com/6850
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
2017-06-26 20:28:24 +00:00

65 lines
1.0 KiB
Plaintext

{{header}}
{{object 1 0}} <<
/Type /Catalog
/Pages 2 0 R
>>
endobj
{{object 2 0}} <<
/Type /Pages
/MediaBox [ 0 0 600 600 ]
/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 4 0}} <<
/Type /Font
/Subtype /Type1
/BaseFont /Helvetica
>>
endobj
{{object 6 0}} <<
>>
stream
BT
/F1 12 Tf
50 50 Td
(Hello, world! This is not a link.) Tj
0 50 Td
(http://example.com?q=foo. This might be a link.) Tj
/F2 16 Tf
0 50 Td
(https://example.com?q=foo. This might be a link in another font.) Tj
0 50 Td
(javascript:alert(0). This might be a JS link.) Tj
0 50 Td
(ftp://example.org. This might be a FTP link.) Tj
0 50 Td
(file:///home/foo/example.txt. This might be a file link.) Tj
0 50 Td
(This is a rather long and pointless piece of non-link text.) Tj
ET
endstream
endobj
{{xref}}
{{trailer}}
{{startxref}}
%%EOF