html2pdf.js icon indicating copy to clipboard operation
html2pdf.js copied to clipboard

Text rotation Issue

Open Fahad-AQ opened this issue 7 years ago • 4 comments

css is not working , i am using transform: rotate(180deg) on text span , please advide.

Fahad-AQ avatar Jan 23 '19 07:01 Fahad-AQ

Hi @Fahad-AQ, that could be an issue with html2canvas. Would you please try forking this jsFiddle to reproduce the problem? You can use it to test whether the problem is in html2canvas ("Generate canvas") or html2pdf ("Generate PDF"). Thanks!

eKoopmans avatar Feb 03 '19 03:02 eKoopmans

Hi ekoopmans , kindly give me solution of page break issue ,

image

Fahad-AQ avatar Feb 07 '19 07:02 Fahad-AQ

This is my javascript code.

function addScript(url) {
var script = document.createElement('script');
script.type = 'application/javascript';
script.src = url;
document.head.appendChild(script);

} addScript('https://raw.githack.com/eKoopmans/html2pdf/master/dist/html2pdf.bundle.js');

var element = document.getElementById('paginations'); var opt = { filename: 'abc.pdf' };

  // New Promise-based usage:
  html2pdf().set(opt).from(element).save();

Fahad-AQ avatar Feb 07 '19 07:02 Fahad-AQ

i've the same problem, i dont how i can resolve it

JustinMika avatar Jun 25 '24 10:06 JustinMika