[reportlab-users] About a bug in barcodes

Andy Robinson andy at reportlab.com
Fri Sep 3 04:53:35 EDT 2010


On 3 September 2010 09:48, Robin Becker <robin at reportlab.com> wrote:

> strokeWidth==0 is not the same as no stroke being drawn. In all rational

> worlds it would be, but according to some person in postscript land zero

> means the smallest width possible.


I think there was a CAD person involved in the spec at some point in
the past. I used to work with CAD systems and lines have different
meanings. If it's supposed to be the 'edge' of a real world object,
then it should still be drawn on the monitor with a one pixel line,
however much you zoom in. If it's a shape with a finite width,
you'll get what you expect.

I agree with Robin that this is confusing for the 99% of us that
aren't doing CAD.

- Andy


More information about the reportlab-users mailing list