[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Postscript bug
From: |
David Feuer |
Subject: |
Re: Postscript bug |
Date: |
Wed, 5 Apr 2006 19:28:13 -0400 |
On 4/5/06, Erlend Aasland <address@hidden> wrote:
> Hi David,
>
> Your recent changes to the PS code makes all circles look rather weird (they
> contain a straigt line from the center to the right of the circle, and the
> circle itself is misplaced). I fixed this with the attached patch, but since
> I'm not PS expert, perhaps you could verify that this look good? (I suspect
> that the newpath thing is a bit hacky...) Anyway, circles are printed right
> with this patch applied.
Sorry about that. I knew I probably made some mistakes in there.
There's no need for newpath here. Just got a couple things out of
order. The procedure should read
/draw_circle % F R T
{
setlinewidth % F R
currentpoint % F R x0 y0
3 2 roll % F x0 y0 R
dup 0 rmoveto
0 360 arc closepath
{ stroke_and_fill }
{ stroke }
ifelse
} bind def
I'll send a patch in a few minutes.
David Feuer
- Postscript bug, Erlend Aasland, 2006/04/05
- Re: Postscript bug,
David Feuer <=