[reportlab-users] problem printing page generated by reportlab

Nilesh Ruikar nilesh.ruikar at agnosystems.com
Sun Oct 8 23:30:22 EDT 2017


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 <timr at probo.com> 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, timr at probo.com
> Providenza & Boekelheide, Inc.
>
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20171009/13e668a4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfibamlofkkambij.png
Type: image/png
Size: 676 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20171009/13e668a4/attachment.png>


More information about the reportlab-users mailing list