jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

html not exporting to pdf correctly

Open mustafaefdal1 opened this issue 3 years ago • 3 comments

Hello there,

I'm trying to output a div inside my page as pdf. I'm getting output successfully, but when I open the pdf, the components and images inside the div are distorted. You can see the situation more clearly in the images. How can I solve this?

Ekran görüntüsü 2022-10-06 165218

Ekran görüntüsü 2022-10-06 165044

mustafaefdal1 avatar Oct 06 '22 13:10 mustafaefdal1

It looks like CSS is not applied to print render correctly

sh977218 avatar Oct 06 '22 15:10 sh977218

Do you have any idea for fix it?

mustafaefdal1 avatar Oct 07 '22 06:10 mustafaefdal1

@mustafaefdal1 are you able to share the HTML code, and the outputted PDF?

audunmo avatar Oct 11 '22 08:10 audunmo

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

github-actions[bot] avatar Jan 10 '23 02:01 github-actions[bot]