title: Hindi is not displaying properly in TCPDF
body: <p>I am trying to generate PDF using TCPDF with Hindi Unicode characters. I tried Mangal, Noto Sans, Arial Unicode fonts but all give the same output. If there is a "Matra" or "Half character" then it does not display properly.</p>
  
  <p>See this output:</p>
  
  <p><a href="https://i.stack.imgur.com/mlvWY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mlvWY.jpg" alt="enter image description here"></a></p>
  
  <pre><code>&lt;?php
  error_reporting(E_ALL);
  ini_set("display_errors", "On");
  
  require_once 'vendor/autoload.php';
  
  $hindi_str = "राष्ट्रपति प्रणव मुखर्जी। ";
  $hindi_str2 = "देश हमें देता है सब कुछ";
  // create new PDF document
  $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
  
  //$fontname_kannada = TCPDF_FONTS::addTTFfont('NotoSansKannada-Regular.ttf', 'TrueTypeUnicode', '', 96);
  $fontname_hindi1 = TCPDF_FONTS::addTTFfont('NotoSansDevanagari-Regular.ttf', 'TrueTypeUnicode', '', 96);
  $fontname_hindi2 = TCPDF_FONTS::addTTFfont('mangal.ttf', 'TrueTypeUnicode', '', 96);
  $fontname_hindi3 = TCPDF_FONTS::addTTFfont("ARIALUNI.TTF", 'TrueTypeUnicode', '', 96);
  // use the font
  
  $pdf-&gt;AddPage();
  
  $pdf-&gt;SetFont($fontname_hindi3, '', 14, '', false);
  $pdf-&gt;writeHTML("&lt;h1&gt;Hindi $hindi_str $hindi_str2&lt;/h1&gt;",true, false, true, false, '');
  $pdf-&gt;Ln();
  
  $pdf-&gt;writeHTML("&lt;h1&gt;Kannada ಖುತುಬ್ ಮಿನಾರ್ ಸಮೀಪವಿರುವ ಪ್ರಸಿದ್ಧ ಕಬ್ಬಿಣದ ಕಂಬ ಯಾರಿಗೆ ಸೇರಿದೆ&lt;/h1&gt;",true, false, true, false, '');
  
  // output the HTML content
   // ---------------------------------------------------------
  
  //Close and output PDF document
  $pdf-&gt;Output('example.pdf', 'I');
  </code></pre>
  
  <p>Please help.   </p>