Skip to content

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

@joydeeproni

Description

@joydeeproni

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions