I've updated xhtml2pdf 0.0.6, PyPDF2 1.21, and reportlab 3.1.8.
My pdf was fine when i used xhtml2pdf 0.0.5 and reportlab 2.7. Now all of my frame got border. I did remove "-pdf-frame-border" and tried to put "-pdf-frame-border:0" or "-pdf-frame-border:none", but it still display frame broder. Can anyone shed any lights? Thanks.
After a bit of poking around with reportlab.Version == 3.1.8, I was only successful by setting a white border.
@frame footer_frame {
-pdf-frame-content: footer_content;
left: 50pt; width: 512pt; top: 772pt; height: 20pt;
border: 0pt solid white;
}
Just revert ReportLab to 2.7 and it fixed the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With