You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Path collection filling/stroking logic is different from the usual in the pdf backend #1412
so it fills if any fill color is specified, and strokes if any stroke color is specified. This is not the same logic as for other objects. Specifically, a linewidth of zero should cause the paths not to be stroked (because in pdf, a zero-width line is a line of some device-specific minimum width, whereas in agg a zero-width line is a line not drawn).
I think the code needs to make the filled/stroked decisions when creating the XObjects, so the current _iter_collection_raw_paths method is not quite sufficient.
Closing this as we have at least one other issue related to special casing zero-width lines in pdfs (#2910), it sounds like the bulk of this is already fixed, and this is over a year old.
Activity
mdboom commentedon Apr 12, 2013
I think #1860 fixes a lot of this. Do you agree? If so, maybe we should close this.
jkseppan commentedon Apr 13, 2013
Yes, #1860 looks like essentially the same issue. Does it fix the specific problem with line width zero? (I can't test myself right now.)
Michael Droettboom notifications@github.com wrote:
tacaswell commentedon Aug 17, 2014
Closing this as we have at least one other issue related to special casing zero-width lines in pdfs (#2910), it sounds like the bulk of this is already fixed, and this is over a year old.
@jkseppan Please re-open if you disagree.