Viewing 1 replies (of 1 total)
  • Thread Starter Aakif Kadiwala

    (@kadiwala)

    I got the solution for this.
    have to create YesevaOne-Regular.php and YesevaOne-Regular.z files with the help of YesevaOne-Regular.ttf file
    and upload this YesevaOne-Regular.php & YesevaOne-Regular.z file in below path
    plugins/gift-voucher/vendor/setasign/fpdf/font

    then use:
    $pdf->AddFont(‘YesevaOne’,”,’YesevaOne-Regular.php’);
    $pdf->SetFont(‘YesevaOne’,’B’,16);

Viewing 1 replies (of 1 total)
  • The topic ‘How to change Font for PDF’ is closed to new replies.