python-pdfkit icon indicating copy to clipboard operation
python-pdfkit copied to clipboard

CSS float not working with pdfkit

Open RyuFeng opened this issue 2 years ago • 1 comments

Hey, Because of rendering speed for large pdfs I had switched from weasyprint to pdfkit before and while most things worked with it, all of the alignment was messed up because it couldn't work with float. Is it possible to add support for float?

RyuFeng avatar Mar 23 '23 15:03 RyuFeng

Try switching the display and other properties to -webkit

Worked for me, prob. because wkhtmltopdf is compatible with QtWebkit

example: display: -webkit-box; -webkit-box-align: center; -webkit-box-pack: center;

insomnia33 avatar Jun 28 '23 11:06 insomnia33