Question

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.

Was it helpful?

Solution 2

Just revert ReportLab to 2.7 and it fixed the problem.

OTHER TIPS

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;
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top