dimonas Posted October 19, 2012 Share Posted October 19, 2012 (edited) Hello, i have problems with PDF font, if i write in my language etc:. Žiūrėti -> in PDF --> ?i?r?ti one more etc:. Žaisti ---> in PDF -> ?aisti How can i solve it ? ANSWER: open classes\pdf\PdfGenerator.php and change const DEFAULT_FONT = 'helvetica'; to const DEFAULT_FONT = 'freeserif'; also replace the invoice.tpl with the file I attached in this email to correct the table structure.(pdf/invoice.tpl) Thanks for this to Ventos312 invoice.htm Edited October 21, 2012 by dimonas (see edit history) 3 Link to comment Share on other sites More sharing options...
mehnihma Posted October 28, 2012 Share Posted October 28, 2012 This doesn't not work in PS 1.5.2?????? Link to comment Share on other sites More sharing options...
wampsi Posted November 8, 2012 Share Posted November 8, 2012 This also works in PS 1.5.2. I tryed it - works like a charm. Ačiū už sprendimą. 1 Link to comment Share on other sites More sharing options...
cycleelcyc Posted September 19, 2014 Share Posted September 19, 2014 Hello, i have problems with PDF font, if i write in my language etc:. Žiūrėti -> in PDF --> ?i?r?ti one more etc:. Žaisti ---> in PDF -> ?aisti How can i solve it ? ANSWER: open classes\pdf\PdfGenerator.php and change const DEFAULT_FONT = 'helvetica'; to const DEFAULT_FONT = 'freeserif'; also replace the invoice.tpl with the file I attached in this email to correct the table structure.(pdf/invoice.tpl) Thanks for this to Ventos312 you are the best Link to comment Share on other sites More sharing options...
WAILINNSOE Posted July 5, 2017 Share Posted July 5, 2017 I have same problem but your attach can't download ... now i am using 1.6.11 Link to comment Share on other sites More sharing options...
Recommended Posts