jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

addhtml in arabic not work

Open mohamadassadeq opened this issue 8 years ago • 2 comments

I want to export html as pdf. When I use doc.text("سلام!", 10, 10 ,options); everything is Ok. by when use var options = { pagesplit: true,'background': '#fff' ,lang: 'ar'}; doc.addHTML(document.getElementById('customers')[0], options, function() { doc.output('dataurlnewwindow'); }); pdf is not ok. this is jsfiddle. what I see: 1 what I expected 2

mohamadassadeq avatar Sep 18 '18 04:09 mohamadassadeq

addHTML is deprecated.

Uzlopak avatar Sep 18 '18 05:09 Uzlopak

what should I use instead? html2canvas? I don't want to get image in pdf. I want to be able to select on it.

mohamadassadeq avatar Sep 18 '18 06:09 mohamadassadeq