title: Create pdf: after mapping to unicode, display wrong
body: <p>I want to create a pdf file that display Thai language by text editor.After mapping to unicode and open the file, the texts display like it's white, but when i copy and paste to text editor it's normal(Thai unicode start from 0E01, in the sample I map 0000 0001 0002 -> 0E01 0E02 0E03).what is the problem please help.The code is below please make a try</p>
  
  <pre><code>%PDF-1.5
  1 0 obj
  &lt;&lt;
  /ProcSet [/PDF /Text] /Font &lt;&lt; /F1 2 0 R &gt;&gt;
  &gt;&gt;
  endobj
  2 0 obj
  &lt;&lt;
  /Type /Font /Subtype /Type0 /BaseFont /Arial /Encoding /Identity-H /DescendantFonts [3 0 R]/ToUnicode 14 0 R
  &gt;&gt;
  endobj
  3 0 obj
  &lt;&lt;
  /Type /Font /Subtype /CIDFontType0 /BaseFont /Arial /FontDescriptor 4 0 R
  /CIDSystemInfo &lt;&lt; /Registry (Adobe) /Ordering (Identity) /Supplement 0 /CIDToGIDMap /Identity&gt;&gt;
  /DW 1000 /W [231 389 500 631 631 500]
  &gt;&gt;
  endobj
  4 0 obj
  &lt;&lt;
  /Type /FontDescriptor /FontName /Arial /Flags 7 /FontBBox [-170 -331 1024 903]
  /ItalicAngle 0 /Ascent 723 /Descent -241 /CapHeight 709 /XHeight 450 /StemV 69
  /Style &lt;&lt; /Panose &lt;010502020300000000000000&gt; &gt;&gt;
  &gt;&gt;
  endobj
  5 0 obj
  &lt;&lt;
  /Length 6 0 R
  &gt;&gt;
  stream
  BT
  /F1 10 Tf 10 TL 0 Tr .05 Tc 1 0 0 1 27.3569560893065 760.695238095238 Tm
  T* [&lt;000000010002&gt;]TJ
  ET
  endstream
  endobj
  6 0 obj
  50000
  endobj
  7 0 obj
  &lt;&lt;
  /Type /Catalog /PageMode /UseNone /Pages 8 0 R /OpenAction [9 0 R /Fit]
  &gt;&gt;
  endobj
  8 0 obj
  &lt;&lt;
  /Type /Pages /MediaBox [0 0 595.2 841.8]
  /Kids [
  9 0 R
  ] /Count 1
  &gt;&gt;
  endobj
  9 0 obj
  &lt;&lt;
  /Type /Page /Parent 8 0 R /Contents 5 0 R /Resources 1 0 R
  &gt;&gt;
  endobj
  10 0 obj
  &lt;&lt;
  /Type /First 11 0 R /Last 12 0 R /Count 2
  &gt;&gt;
  endobj
  11 0 obj
  &lt;&lt;
  /Title (Converted Report)
  /Parent 10 0 R
  /First 12 0 R /Last 12 0 R /Count -1 /Dest [9 0 R /Fit]
  &gt;&gt;
  endobj
  12 0 obj
  &lt;&lt;
  /Title (1 / 1)
  /Parent 11 0 R
  /Dest [9 0 R /Fit]
  &gt;&gt;
  endobj
  13 0 obj
  &lt;&lt;
  /Producer (PDF2AcR Ver 1.44 - Access Report PDF converter)
  /CreationDate (D:20031218140436)
  &gt;&gt;
  endobj
  14 0 obj
  &lt;&lt; /Length 433 &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;0000&gt; &lt;FFFF&gt;
  endcodespacerange
  1 beginbfrange 
  &lt;0000&gt; &lt;005E&gt; &lt;0E01&gt; 
  endbfrange 
  2 beginbfchar
  &lt;00A1&gt; &lt;00A1&gt;
  &lt;005F&gt; &lt;0E01&gt;
  endbfchar
  endcmap
  CMapName currentdict /CMap defineresource pop
  end
  end
  endstream
  endobj
  xref
  0 15
  0000000000 65535 f
  0000000010 00000 n
  0000000080 00000 n
  0000000198 00000 n
  0000000409 00000 n
  0000000642 00000 n
  0000001079 00000 n
  0000001101 00000 n
  0000001220 00000 n
  0000001311 00000 n
  0000001396 00000 n
  0000001475 00000 n
  0000001637 00000 n
  0000001715 00000 n
  0000001915 00000 n
  trailer
  &lt;&lt;
  /Size 15
  /Root 7 0 R
  /Info 13 0 R
  &gt;&gt;
  startxref
  50000
  %%EOF
  </code></pre>