Html to PDF with webkit transform
When producing PDF from Html the webkit transform does not work. I need 开发者_高级运维to rotate a div at 45 angle and after using webkit transform it looks ok on the screen but with winnovatives Html to PDF convertor the out put was flat not rotated. Any solutions?
Try: "wkhtmltopdf" it just work great. It uses webkit engine and it is very easy to use:
wkhtmltopdf stackoverflow.com/questions/3849441/ output.pdf
Try it! for Linux and Windows as well. Easy to install. If you use ubuntu, type:
aptitude install wkhtmltopdf
Winnovative HTML to PDF rendering engine is compatible with WebKit (Google Chrome) and you have to use '-webkit-transform: rotate(45deg);' style in CSS to rotate an element.
精彩评论