Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search Sign up Reseting focus

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

parallax / jsPDF Public

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get Rupee symbol (₹) in the PDF #1351

joydeeproni opened this issue Jul 26, 2017 · 4 comments

Unable to get Rupee symbol (₹) in the PDF #1351

joydeeproni opened this issue Jul 26, 2017 · 4 comments

Comments

joydeeproni commented Jul 26, 2017

I am using the latest version of jsPDF v1.3.2.
I am trying to get Rupee symbol (₹) in my pdf but when i put ₹ symbol in the doc.text() it outputs a superscript 1 & the letters of the word gets spaced.

Example:
doc.setFont('helvetica')
doc.setFontType('bold')
doc.text(20, 50, 'This is the new ₹ symbol')

Output:
T h i s i s t h e n e w ¹ s y m b o l

I don't know how to fix it, I tried using the rupee HTML code but nothing happens.

The text was updated successfully, but these errors were encountered: