Jump to content

Editing Font on Invoice PDF


Guest

Recommended Posts

Hey guys,

 

I'm looking to edit the font on the invoice template to match our site. Any possible way to do this?

 

Thanks!

 

eggo

Link to comment
Share on other sites

I'm on the latest build. Thanks for the tip! These changes will need to be reapplied with every update I'm assuming?

 

If I want to add a font type maybe someone can help out me..

 

Into PDF.php I am trying to add;

 

$fontname = $pdf->addTTFfont('/themes/MYTHEME/fonts/Georgia.ttf', 'TrueTypeUnicode', '', 32);

$pdf->SetFont('georgia', '', 14, '', 'false');

 

and to PDFGenerator.php, I tried changing the font to 'georgia'.

 

Not sure what to do at this point. Would appreciate some advice greatly. :)

 

Thanks so much!

 

eggo

Edited by Guest (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...