jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

jsPDF - Stange spaces bug only on "Input fields"

Open kodditcom opened this issue 4 years ago • 4 comments

So I'm exporting a page using jsPDF, I get blank spaces and huge spaces between letters on input element values, however the other elements (div, span etc.) are exported just fine.

How can I overcome this problem?

https://ibb.co/kg8jB8K

kodditcom avatar Jun 17 '20 17:06 kodditcom

which version of jsPDF do you use? Is this still an issue when you use the jsPDF files that are currently in the dist folder of this repo?

HackbrettXXX avatar Jun 18 '20 07:06 HackbrettXXX

Hi, I'm encountering with error while using 2.1.1 in this repo. When I try to export PDF in Safari while using iPad I get this error, works OK in Chrome in Desktop though.

kodditcom avatar Jun 18 '20 12:06 kodditcom

I'm experiencing this same issue. Here is my output: Screen Shot 2020-06-30 at 1 25 31 PM

The output looks fine in Chrome and Firefox

cwalsh7 avatar Jun 30 '20 20:06 cwalsh7

Font issue, just set your content for a system font, i was using TailwindCSS and defined font-['Arial'] and worked.

ryahpalma avatar May 20 '23 08:05 ryahpalma