Jspdf ensures that the text takes up the same amount of space as the original, but with the available fonts See before and after pic below taken from the generated pdf Embedding the correct font seems to fix the issue.
OnlyFans
I checked with ie & chrome when creating pdf from html, extra white space added between word
Jspdf.api is a static property of jspdf class
Jspdf.api is an object you can add methods and properties to The methods / properties you add will show up in new jspdf objects It is the 'events' object Plugin authors can add topics, callbacks to this object
These will be reassigned to all new instances of jspdf. I'm using jspdf to convert an html element to pdf but for some reason, the generated pdf contains an unnecessary spaces I can't use the html2canvas as i need pdf with textually format (and not an. Pdf document creation from javascript
Start using jspdf in your project by running `npm i jspdf`
There are 1723 other projects in the npm registry using jspdf. This is how the input would look like in html page for balsamiq sans but the resulting pdf looks very different it's like the space between words is reduced, and this happens with a lot of fonts from google fonts (but some of them work fine like dosis or oswald). Unknown space added to pdf doc after download using jspdf and html2canvas #3436 closed syjaliha opened on jun 15, 2022