hi,
how can I set the font for the pdf heading?
$grid[“export”] = array(“format”=>”pdf”, “filename”=>”uzemorvos_2019”, “heading”=>”IdÅ‘pont lista”, …);
for the table it works:
$pdf->SetFont(‘arialuni’,”,’12’,”,true);
and displays the chars correctly
thanks
1 Answers
You can edit lib/inc/jqgrid_dist.php and readjust font name here in code.
Another option is to refer demos/export/custom-export.php and see custom pdf export code for customization.
Your Answer