Thursday, 15 June 2017

How to add custom font in code igniter mpdf

1.Download the ttf font file whatever you want

2.Paste it to mpdf/ttffonts folder

3.Then conf_font.php file and add your font in font data array

   Ex."arial" => array( 'R' => "arial.ttf",
'B'=>"arial Bold.ttf",),

No comments:

Post a Comment