Jump to content

PDF font problem [SOLVED]


Recommended Posts

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

post-407854-0-00139900-1350672570_thumb.jpg

invoice.htm

Edited by dimonas (see edit history)
  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 1 year later...

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

  • 2 years later...
×
×
  • Create New...