Indian Rupee not display in pdf also My system Front end also I try some other system in frontend working but downloading Invoice pdfit shows ₹

I check all tutorial still same no changes. What is the problem?



$font = Zend_Pdf_Font::fontWithPath(Mage::getBaseDir() . '/lib/LinLibertineFont/Rupee_Foradian.ttf');

I download Font and upload here lib/LinLibertineFont/Rupee_Foradian.ttf

enter image description here

Here what is the problem?

1 Answer 1


However I post the answer that make it working well..

  1. Download the font that support Indian Rupee symbol. I download dejavu-sans font.
  2. Place the font in lib directory
  3. Please override this file app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php and app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php

and replace

$font = Zend_Pdf_Font::fontWithPath(Mage::getBaseDir() . '/lib/LinLibertineFont/LinLibertine_Re-4.4.1.ttf');


$font = Zend_Pdf_Font::fontWithPath(Mage::getBaseDir() . '/lib/dejavu-sans/DejaVuSans.ttf');

(in _setFontRegular(), _setFontBold(), _setFontItalic() functions in both files.)

  • I already tried this also but no luck
    – Magento 2
    Commented Apr 17, 2016 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.