cemas Posted September 30, 2012 Share Posted September 30, 2012 (edited) Hi, I noticed that PDF invoice not show's UTF-8 symbols. Maybe someone knows how to fix it? My PS version 1.5.0.17 Edited September 30, 2012 by cemas (see edit history) Link to comment Share on other sites More sharing options...
studionet Posted October 1, 2012 Share Posted October 1, 2012 Find and open classes\pdf\PdfGenerator.php line 37 (for PS 1.5.0.17) Find code: const DEFAULT_FONT = 'helvetica'; Replace with code: const DEFAULT_FONT = 'freeserif'; Then you got PDF ok :-) 3 Link to comment Share on other sites More sharing options...
cemas Posted October 1, 2012 Author Share Posted October 1, 2012 thank you very much maybe you can tell one more thing? How to get ant print in PDF invoice only invoice number? for example: IN00001 Link to comment Share on other sites More sharing options...
studionet Posted October 2, 2012 Share Posted October 2, 2012 I am not sure, if understand ... you can edit this in BO >> Orders >> Invoices. Here you can edit your Prefix for invoices, or set the first number of first invoice. Link to comment Share on other sites More sharing options...
cemas Posted October 2, 2012 Author Share Posted October 2, 2012 No, I need to print only invoice number IN00001 in new place in PDF, and I don't know how to get it from DB Link to comment Share on other sites More sharing options...
cemas Posted October 2, 2012 Author Share Posted October 2, 2012 Or where to find translate in PDF now printing Invoice IN00001 I need to change this title Link to comment Share on other sites More sharing options...
Muhammad Eid Posted December 3, 2012 Share Posted December 3, 2012 Hello my all friend i can't your pass Find and open classes\pdf\PdfGenerator.php where is it can anyone thanks Link to comment Share on other sites More sharing options...
studionet Posted December 3, 2012 Share Posted December 3, 2012 Hi, thats for Prestashop 1,5 .. if you are using older version, then you cant find it. Link to comment Share on other sites More sharing options...
WooF Posted January 10, 2013 Share Posted January 10, 2013 THX it's worked wor me to but how can we override it so that updates not change it back to helvetica font. Link to comment Share on other sites More sharing options...
Recommended Posts