I am working with Hindi Text on pdf. Though Hindi text is generating but its showing as misplaced matras. Suppose I have word like 'ज़िन्दगी' but its showing as
If I copy this text and paste on Libre Office Writer then it prints correct. I have tried nearly two fonts with tcpdf. Arial Unicode MS as well as Lohit_hi
$tcpdf->SetFont('arialuni', 'B', 15, 'false');
$html = nl2br($result['Song']['hindi']);
$tcpdf->writeHTMLCell(0, 20, 20, 25, $html);
Why its showing character but misplaced their position.