1

Hi All,

When i tried to add Pothana telugu font in pdf by

$html2pdf->pdf->addFont('Pothana2000','','fonts/Pothana2000.ttf');

it giving me error Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\XYZ\fonts\Pothana2000.ttf on line 277

Can any one solve this problem or faced the same problem?

2

you can not use directly TTF font
Ancien pseudo : lolo