[cairo] [PATCH 0/5] Fix dashing with zero length dash intervals.
Jeff Muizelaar
jeff at infidigm.net
Mon Apr 10 10:07:08 PDT 2006
On Mon, Apr 10, 2006 at 05:12:00AM -0700, Jeff Smith wrote:
> --- Jeff Muizelaar <jeff at infidigm.net> wrote:
> > Also, throughout the stroking code there are comments about drawing degenerate
> > paths (ones with zero length) as much as possible e.g. patch 1/5. According to
> > the PDF spec we do this wrong. Instead of drawing nothing always we should a
> > circle if the line cap is round. I don't address this problem in the patchset.
>
> Several months ago I sent a patch to address this issue. IIRC, it go no response,
> not even a 'this is no good'. Although it is quite bit-rotten by now, you might
> be interested http://lists.freedesktop.org/archives/cairo/2005-October/005562.html
> I'm too busy at the moment to fiddle with git.
It looks like your patch will draw paths with a square cap at an
arbitrary slope. According, to the PDF spec this isn't good behaviour;
only round caps should be drawn.
-Jeff
More information about the cairo
mailing list