html2pdf.js
html2pdf.js copied to clipboard
'writing-mode' property is not working
Hi @eKoopmans ,
I'm facing an issue with 'writing-mode' CSS property while generating PDF. I have added writing-mode: vertical-rl; style.
this is the page screenshot before my print
While taking the print this property is not getting evaluated.
this is the screenshot after print.
Here is my options
var opt = {
margin: [1.3, .3, 1.7, .3], //top, left, buttom, right
filename: 'Initial_Contract.pdf',
image: { type: 'jpeg', quality: 1 },
html2canvas: { scale: 3, allowTaint: false, useCORS: true },
jsPDF: { unit: 'in', format: 'letter', orientation: 'landscape' },
pagebreak: { mode: 'avoid-all', after: '.pageBreak' }
};
I’m facing the same issue. In my case I’m trying to turn a whole
so it prints as a horizontal page amongst vertical pages.
The table has turned but the text refuses to