Re: problem printing page generated by reportlab
Nilesh Ruikar <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <CAEB3cZAXzaSbEtb=QfKXyqk4_p_dnxnjGAesNj43uWYbvDFuNA@mail.gmail.com> |
Hi Tim, Thanks for your help. Some modifications in workflow of drawing canvas and setting the setlineJoin to round solves the problem Regards, Nilesh On Wed, Sep 20, 2017 at 11:09 PM, Tim Roberts <[email protected]> wrote: > Nilesh Ruikar wrote: > > > I am facing a problem when I try to print a PDF > - PDF has page size of 14.99x8.50 inches > - The wherever the vertical and horizontal lines are intersect, the print > gets where lines overshoot at intersection. > > PDF is attached for reference. > > > I can't quite tell what you're saying. The PDF looks perfectly fine, > except that you are using the wrong end caps for your lines, which produces > a "notch" in the two end junctions: > > > That happens because the actual line endpoint is an infinitely small > point, so you end up with this, where the O marks the actual endpoint: > > xxxxxxxxxxxxxxxxxxxxxxx > x > x > xxxxxOxxxxx > x x x > x x x > x xxxxxxxxxxxxxxxxxxxxxxx > x x > x x > > You should read about setLineJoin and setLineCap to solve that problem. > You should post the code you're using to get the most help from us. > > -- > Tim Roberts, [email protected] > Providenza & Boekelheide, Inc. > > > _______________________________________________ > reportlab-users mailing list > [email protected] > https://pairlist2.pair.net/mailman/listinfo/reportlab-users > >
kfibamlofkkambij.png
(image/png, 676 B) - not displayed