Guest Posted June 28, 2013 Share Posted June 28, 2013 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 More sharing options...
PSfever.com Posted June 28, 2013 Share Posted June 28, 2013 What prestashop Version do you use? For PS 1.5.X Classes/pdf/PDFgenerator.php const DEFAULT_FONT = 'helvetica'; Link to comment Share on other sites More sharing options...
Guest Posted June 28, 2013 Share Posted June 28, 2013 (edited) 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 June 28, 2013 by Guest (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now