SetFont for Heading

QuestionsSetFont for Heading
Nadhazy Gyuri asked 5 years ago

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
Abu Ghufran Staff answered 5 years ago

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.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

5 + 19 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?