Re: [matplotlib-devel] incorrect rendering of quadratic bezier path in ps and pdf backend

2008-09-09 Thread Jouni K . Seppänen
Michael Droettboom <[EMAIL PROTECTED]> writes: > One small note -- the PDF output was broken for acroread (but strangely > not for xpdf), since it was outputting 8 values rather than 6 for the > converted quadratic curves. I've fixed this in SVN. Thanks for fixing this -- Apple's Preview also

Re: [matplotlib-devel] incorrect rendering of quadratic bezier path in ps and pdf backend

2008-09-09 Thread Michael Droettboom
Thanks for taking this on. That was completely my bad -- I put that code in there as a reasonable approximation and meant to go back and fix it, but it fell through the cracks. One small note -- the PDF output was broken for acroread (but strangely not for xpdf), since it was outputting 8 valu

Re: [matplotlib-devel] incorrect rendering of quadratic bezier path in ps and pdf backend

2008-09-07 Thread Jouni K . Seppänen
"Jae-Joon Lee" <[EMAIL PROTECTED]> writes: > I'm attaching a patch (for pdf and ps backends) which I believe > correctly handle this. > I hope this patch is reviewed and applied. Note that the function > _quad2cubic is duplicated in both backends. This function might be > moved to some common plac

[matplotlib-devel] incorrect rendering of quadratic bezier path in ps and pdf backend

2008-09-06 Thread Jae-Joon Lee
Hello, It seems that the pdf and ps backends draw the quadratic bezier line incorrectly. Here is a little test script. # -- begin test script -- import matplotlib.pyplot as plt import matplotlib from matplotlib.path import Path from matplotlib.patches import PathPatch plt.clf() ax = plt.gca() a