VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: rage76 on June 21, 2014, 10:55:13 am

Title: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: rage76 on June 21, 2014, 10:55:13 am
I have added the Indian currency symbol with code '356' in the currency configuration in VM

but I find that in the invoice PDF, it shows a"?". Is there a step by step procedure on how to change this?

I am quite confused. I feel the new INR symbol should be incorporated in the default joomla/VM installation !!

Joomla 2.5.22
VM: 2.6
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: Milbo on June 22, 2014, 15:48:09 pm
You can see that the currency symbol works on the page. This is not a vm, nor joomla issue. Maybe you should enter an html entity instead of hex encoded stuff. Maybe you just copied the sign from somewhere. So actually your currency symbol is not utf-8 and not an html entity.
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: rage76 on June 24, 2014, 18:47:10 pm
Thanks for the reply Milbo. Please guide suitably to rectify this issue !! Shall be grateful

regards
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: StefanSTS on June 25, 2014, 18:30:41 pm
Don't think, Milbo has the time to explain the basics of encoding, check wikipedia: http://en.wikipedia.org/wiki/Indian_rupee_sign. Read about Unicode and use the HTML or UTF-8 character.

Stefan
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: rage76 on June 26, 2014, 13:26:23 pm
well, sorry for sounding dumb, but I did try to use HTML code "U+20B9" but it shows "¹" any suggestions?
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: rage76 on July 05, 2014, 10:13:43 am
anyone.....please help !!
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: Maxim Pishnyak on July 07, 2014, 14:23:14 pm
Copy currency symbol from any utf8 encoded page.
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: rage76 on August 01, 2014, 08:51:05 am
Dear Maxim

As I said earlier, I did try to use HTML code "U+20B9" but it shows "¹"

utf8 code is "e282b9"

Should I use this?
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: rage76 on October 30, 2014, 13:10:32 pm
Please help. I am unable to correct this. Need a proper solution / procedure.
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: rage76 on February 10, 2015, 13:04:59 pm
I have still not been able to find a solution to this. Is there no one who could help me?
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: StefanSTS on February 12, 2015, 05:28:34 am
Hi rage,

looks like tcpdf is not getting the rupie sign done. Did you check the font that tcpdf is using?

Maybe have a look at this site and go on from there:
http://www.tcpdf.org/fonts.php

Sorry, no time at the moment to find out more.
Stefan

PS. But on the other hand, you seem to have the same problem as Flipkart and others, so you are not really far behind recent technology. ;-)
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: rage76 on February 21, 2015, 06:53:03 am
You now what, after trying to replicate all the solutions given online, all I could reach to was a small box symbol from the earlier "?" which when I cut and paste elsewhere, shows the Indian Rupee symbol "₹". what else remains to be done....I am clueless !! Any suggestions?
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: godsgracetech on October 15, 2017, 07:47:13 am
Hello,
I have been watching this post for solution since two months :-), but no response from anyone. Did anyone find the solution the for this issue ? We are able to display the "₹" rupee symbol on the website and emails, but not in the Invoice that we generate from VM administrator. It is showing as "?" when we generate invoice into PDF. I tried many suggestion that i found in this forum, but no solution.

Appreciate if any body can help us to fix this issue as soon as possible.

Thanks
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: rage76 on October 21, 2017, 08:57:14 am
I gave up on this and used a 3rd party invoicing solution to resolve this issue.
Title: Re: how to display "₹" (Indian Rupee Symbol) on VM invoice PDFs
Post by: Studio 42 on October 21, 2017, 14:14:35 pm
The solution is here http://forum.virtuemart.net/index.php?topic=138649.msg486503#msg486503.
I used this for a website having Arabic and hebrew language
You can use webfonts too and generate the files