chromium/chrome/test/data/pdf/accessibility/superscript-subscript.in

{{header}}
{{object 1 0}} <<
  /Type /Catalog
  /Pages 2 0 R
>>
endobj
{{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
    >>
  >>
  /Contents 5 0 R
>>
endobj
{{object 4 0}} <<
  /Type /Font
  /Subtype /Type1
  /BaseFont /Courier
>>
endobj
{{object 5 0}} <<
  {{streamlen}}
>>
stream
% Using Courier because the width of each string is predictable (at 10pt, the
% width of each glyph is 6pt).
BT
/F1 10 Tf
10 180 Td
(This is some text) Tj
/F1 5 Tf
102 4 Td
(abc) Tj
9 -4 Td
/F1 10 Tf
( with a) Tj
-111 -10 Td
(simulated superscript.) Tj
ET
BT
/F1 10 Tf
10 150 Td
(This is some text) Tj
/F1 5 Tf
102 -1 Td
(abc) Tj
9 1 Td
/F1 10 Tf
( with a) Tj
-111 -10 Td
(simulated subscript.) Tj
ET
BT
/F1 10 Tf
10 120 Td
(This is some text) Tj
/F1 5 Tf
102 -1 Td
(abc) Tj
0 5 Td
(def) Tj
9 -4 Td
/F1 10 Tf
( with both) Tj
-111 -10 Td
(superscript and subscript.) Tj
ET
endstream
endobj
{{xref}}
{{trailer}}
{{startxref}}
%%EOF