title: PDF Tj command with angle brackets?
body: <p>I'm trying to figure out where in an <em>uncompressed</em> PDF v1.4 document the Times font is used.</p>
  
  <p>The <code>/Font</code> object describing the Times font within the PDF is object <code>65</code> as follows:</p>
  
  <pre><code>65 0 obj
  &lt;&lt;/Type /Font
  /Subtype /TrueType
  /BaseFont /PXAAAD+TimesNewRoman,Italic
  /FirstChar 1
  /LastChar 35
  /Widths [250 333 333 333 500 500 500 500 500 500 500 500 500 500 333 722 722 833 666 610 500 556 500 443 443 500 277 443 500 389 389 277 500 443 500]
  /FontDescriptor 205 0 R
  /ToUnicode 206 0 R&gt;&gt;
  endobj
  </code></pre>
  
  <p>It refers to a <code>/FontDescriptor</code> object <code>205</code> to further define the Times font object, and to a <code>/ToUnicode</code> map in object <code>206</code> which describes byte-to-unicode character mapping. <strong>EDIT:</strong> After <a href="https://stackoverflow.com/users/246383/ritsaert-hornstra">Ritsaert</a>'s initial answer to the question below, I'm adding the font's <code>/ToUnicode</code> object here, to provide the mentioned <code>CMap</code>.</p>
  
  <pre><code>206 0 obj
  &lt;&lt;/Length 208 0 R&gt;&gt;
  stream
  /CIDInit /ProcSet findresource begin
  12 dict begin
  begincmap
  /CIDSystemInfo
  &lt;&lt; /Registry (Adobe)
  /Ordering (UCS)
  /Supplement 0
  &gt;&gt; def
  /CMapName /Adobe-Identity-UCS def
  /CMapType 2 def
  1 begincodespacerange
  &lt;00&gt; &lt;FF&gt;
  endcodespacerange
  35 beginbfchar
  &lt;01&gt; &lt;0020&gt;
  &lt;02&gt; &lt;0028&gt;
  &lt;03&gt; &lt;0029&gt;
  &lt;04&gt; &lt;002d&gt;
  &lt;05&gt; &lt;0030&gt;
  &lt;06&gt; &lt;0031&gt;
  &lt;07&gt; &lt;0032&gt;
  ...
  &lt;23&gt; &lt;0101&gt;
  endbfchar
  endcmap
  CMapName currentdict /CMap defineresource pop
  end
  end
  
  endstream
  endobj
  </code></pre>
  
  <p>I've now tracked down the use of the Times font object to a <code>/Page</code> object (one of many) like the following one which refers to font object <code>65</code> through the <code>/F4</code> reference in its page <code>/Resources</code>:</p>
  
  <pre><code>12 0 obj
  &lt;&lt;/Type /Page
  /Parent 2 0 R
  /MediaBox [0 0 432 648]
  /Contents 92 0 R
  /Resources &lt;&lt;/Font &lt;&lt;/F1 62 0 R
  /F3 64 0 R
  /F4 65 0 R&gt;&gt;
  /ProcSet [/PDF /Text]&gt;&gt;
  /Group &lt;&lt;/S /Transparency
  /CS /DeviceRGB&gt;&gt;&gt;&gt;
  endobj
  </code></pre>
  
  <p>The <code>/Contents</code> stream (object <code>92</code> in the PDF file) is then full of text objects (enclosed in <code>BT</code> and <code>ET</code>), none of which contains text, but instead they use angle brackets full of numbers. For example, here is the only reference to the Times font <code>/F4</code> whose use I'm trying to find:</p>
  
  <pre><code>92 0 obj
  &lt;&lt;/Length 93 0 R&gt;&gt;
  stream
  ...
  BT
  0.5020 g
  72.0000 615.1512 Td
  /F4 12.0000 Tf
  &lt;0605&gt; Tj
  ET
  ...
  endstream
  endobj
  </code></pre>
  
  <p>But what do the angle brackets and the number <code>&lt;0605&gt;</code> refer to? A specific glyph in the font table? Looking at the <a href="http://partners.adobe.com/public/developer/en/pdf/PDFReference.pdf" rel="nofollow noreferrer">PDF reference</a> and section 5.3.2 I can't find mention of the angle brackets.</p>
  
  <p><strong>EDIT:</strong> Given the above code and the accepted answer that <code>&lt;0605&gt;</code> is a hex encoding of text, the <code>&lt;0605&gt;</code> are the entries <code>&lt;06&gt;</code> and <code>&lt;05&gt;</code> in the <code>CMap</code> object <code>206</code> and thus map to unicodes <code>&lt;0031&gt;</code> and <code>&lt;0030&gt;</code> respectively. That means, the string <code>&lt;0605&gt;</code> refers to U+0031 (a "1") and to U+0030 (a "0"), such that the Times font is used for the string "10" on page object <code>12</code>.</p>