I
I
Islam Ibakaev2019-03-22 13:53:06
JavaScript
Islam Ibakaev, 2019-03-22 13:53:06

How to use custom font when generating pdf with jspdf?

Previously used this helper library .
After updating the dependencies in the project, I now have scribbles instead of Cyrillic.
I went into a turnip, the author declared the library obsolete , says that jspdf version >= 1.5 itself now solves this problem.
Only I did not understand how jspdf does this now? Tell me how to connect your font now, for example, ProximaNova .
Can you show a code example of how jspdf does this now? Thanks for the help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tyzberd, 2019-03-22
@tyzberd

https://stackoverflow.com/questions/26908266/custo...
This edit is already here at
https://github.com/MrRio/jsPDF/blob/master/src/jsp...
and the last answer might work too

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question