incorrect rendering of quadratic bezier path in ps and pdf backend

"Jae-Joon Lee" <lee.j.joon@...149...> 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 place.

Looks good. I applied this, with the quad2cubic function moved to
cbook.py and your test case included in the examples directory. Thanks!

···

--
Jouni K. Sepp�nen

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 values rather than 6 for the converted quadratic curves. I've fixed this in SVN.

Cheers,
Mike

Jouni K. Sepp�nen wrote:

···

"Jae-Joon Lee" <lee.j.joon@...149...> 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 place.
    
Looks good. I applied this, with the quad2cubic function moved to
cbook.py and your test case included in the examples directory. Thanks!

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA