1.Download the font that support Indian Rupee symbol. recommended dejavu-sans font.
2.place the font in lib directory.
3.open 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');
with
$font = Zend_Pdf_Font::fontWithPath(Mage::getBaseDir() . '/lib/dejavu-sans/DejaVuSans.ttf'); (in _setFontRegular(), _setFontBold(), _setFontItalic() functions in both files.)
Thank you.
I didn't get through.
I got error 500 after replacing the code in abstract.php files.
Please clarify if
(in _setFontRegular(), _setFontBold(), _setFontItalic() functions in both files.)
is part of the code or not.
Regards
No this is not your part of code, by the way the code is not working still problem is there...
@ayinde wrote:Thank you.
I didn't get through.
I got error 500 after replacing the code in abstract.php files.
Please clarify if
(in _setFontRegular(), _setFontBold(), _setFontItalic() functions in both files.)is part of the code or not.
Regards
Thank you. It solved my problem.