Skip to content

Embedded TTF Fonts Not Working when indexToLocFormat is 0 (SHORT)  #1902

@lezcuff

Description

@lezcuff

I am using the latest version of jsPDF: 1.4.1
I have also tried using jspdf.debug.js

I have been able to get the basic example to work with the sample font.
however, i have not been able to inject courier prime into the pdf

Steps to reproduce

  • Download Courier Prime from http://dimkanovikov.pro/courierprime/
  • convert to base64
  • open the working basic example code
  • replace sample font string with the bas64 encoded string
  • print a sequence of cyrillic letters
  • save PDF
  • open PDF

BUGGY RESULT: lots of exclamation marks

  • print a sequence of english text
  • save PDF
  • open PDF

BUGGY RESULT: some # signs

Metadata

Metadata

Assignees

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