Nagraj Posted September 1, 2012 Share Posted September 1, 2012 Hi, Unable to print the Indian rupee symbol in invoice pdf. Any help is appriciated. Thanks Link to comment Share on other sites More sharing options...
El Patron Posted September 2, 2012 Share Posted September 2, 2012 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? Link to comment Share on other sites More sharing options...
Nagraj Posted September 2, 2012 Author Share Posted September 2, 2012 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 More sharing options...
mausom Posted May 19, 2013 Share Posted May 19, 2013 Hello Nagraj, I am facing the exact problem, did you find the solution for it? Please share. Thanks Link to comment Share on other sites More sharing options...
mausom Posted May 19, 2013 Share Posted May 19, 2013 Can anyone please help? Link to comment Share on other sites More sharing options...
rooniboy Posted May 20, 2013 Share Posted May 20, 2013 I am facing the same issue. Anyone please ? Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 20, 2013 Share Posted May 20, 2013 Can you please show us any screenshots of the invoices? Link to comment Share on other sites More sharing options...
mausom Posted May 20, 2013 Share Posted May 20, 2013 Hello Benjamin, Thanks for taking interest. I have attached the screenshot of the invoice, please check it out. Regards Mausom Link to comment Share on other sites More sharing options...
mausom Posted May 21, 2013 Share Posted May 21, 2013 (edited) 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! Edited May 21, 2013 by mausom (see edit history) 4 Link to comment Share on other sites More sharing options...
SmartDataSoft Posted May 22, 2013 Share Posted May 22, 2013 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 More sharing options...
bhagyashris Posted September 15, 2013 Share Posted September 15, 2013 Hi mousam Thanks for your solution for your post Link to comment Share on other sites More sharing options...
[email protected] Posted September 23, 2013 Share Posted September 23, 2013 (edited) Thanks a lot @mausom Edited September 23, 2013 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
Divyesh Prajapati Posted December 23, 2013 Share Posted December 23, 2013 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! oh great! its really working fine. Link to comment Share on other sites More sharing options...
biosaravanan Posted October 21, 2015 Share Posted October 21, 2015 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! Thank you very much, It is working. Link to comment Share on other sites More sharing options...
Recommended Posts