Lukas Holländer

Results 142 comments of Lukas Holländer

Great you found the solution. A release where the types are included in the npm package is already in the pipeline.

I just realized that this approach only works if the class is exported using `export default`. Otherwise, the constructor and class documentations are merged into a single doclet by jsdoc....

Did you add a font supporting these utf8 characters? If yes, could you give us a link to the respective issue/pull request?

When I run the code with MrRio/jsPDF, it renders to `A " B`, which also not correct.

Did you load the font file after jsPDF?

Does it work if you manually add text to the pdf with this font?

What does the SVG look like that's passed to svg2pdf? Does it use your custom font?

The PDF looks good to me, as well. It correctly contains the font and looks good in Chrome and in Adobe Reader. You probably ran into https://github.com/MrRio/jsPDF/issues/2743. Try to disable...

Yes that's definitively something we should improve with the next release.

Could part of the issue be similar to https://github.com/parallax/jsPDF/issues/3627? Or the respective svg2pdf issue https://github.com/yWorks/svg2pdf.js/issues/244? If that's the case then I think we should fix the unit-scaling-related part on jsPDF...