Jump to content

Unable to print the Indian rupee symbol in invoice pdf


Recommended Posts

Is your default shop currency in rupees?

Do you have other concurrences defined on your site?

During payment do rupees get converted to a currency supported by your payment gateway and that's what you see on your invoice?

 

Yes, my default currency is in INR Rupees

i dont have anyother currencies for the shop

once the order is palced in the generated invoice pdf i'm getting some special characters instead of ₹.

Link to comment
Share on other sites

  • 8 months later...

Found a solution:

 

Find and open classes\pdf\PdfGenerator.php line 35 (for PS 1.5.4)

 

Find code:

 

Change:

const DEFAULT_FONT = 'helvetica';

 

To:

const DEFAULT_FONT = 'dejavusans';

 

It worked!

great to know it work . please change the title [solved] . :)

Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...
  • 3 months later...
  • 1 year later...
×
×
  • Create New...