Hi All,
I am trying to display some chinese in pdf file, and by reading the docs I understand that I need add new font for that, but it wasn't that clear on the help docs. Can anyone here to help me out please?
Here is the code I had
$html2pdf = new HTML2PDF('P','A4','en', true, 'UTF-8');
$html2pdf->AddFont('Arial'); // <--- What should I do here? This is the fun: addFont($family, $style='', $file='')
$html2pdf->setDefaultFont('Arial');
$html2pdf->writeHTML($content, isset($_GET['vuehtml']));
$html2pdf->Output('exemple.pdf');
I also noticed there is a font file location in html2pdf_v4\_tcpdf\fonts and it looks like I could use "msungstdlight.php", but not sure how to add into the above script.
Please advice~!
Thanks
T.L