[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Fw: problem with pic
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] Fw: problem with pic |
Date: |
Thu, 20 Mar 2008 09:26:05 +0100 (CET) |
> > The problem reported does not occur with old AT&T pic (from the
> > 80s). I have that old version running and tested it before
> > reporting the problem. Specifically, with old AT&T pic, the code
> >
> > .PS
> > line from 0,0 to 3,3
> > line from 1,1 then up 1
> > .PE
> >
> > draws just two lines (one diagonal, one vertical) while with the
> > current CVS version of groff pic, it draws three line segments.
>
> Uh, oh. It seems that I have to revert or modify the change.
> Anyway, it looks strange to me that
>
> right;
> line from 1,1 then up 1
>
> (which is, according to your tests with AT&T pic, the same as `line
> 0 from 1,1 then up 1') should be have in a different way compared to
>
> right;
> line then up 1;
>
> (which is the same as `line right then up 1').
Anyway, a clean solution to the problem within grap is to add an
explicit length to the line before changing the direction:
line 0 from 1,1 then up 1;
This should give the right result with all pic implementations.
Werner
- [Groff] Fw: problem with pic, Werner LEMBERG, 2008/03/10
- Re: [Groff] Fw: problem with pic, Y T, 2008/03/19
- Re: [Groff] Fw: problem with pic, Werner LEMBERG, 2008/03/20
- Re: [Groff] Fw: problem with pic,
Werner LEMBERG <=
- RE: [Groff] Fw: problem with pic, Y T, 2008/03/20
- Re: [Groff] Fw: problem with pic, Keith Marshall, 2008/03/20
- RE: [Groff] Fw: problem with pic, Y T, 2008/03/20
- Re: [Groff] Fw: problem with pic, Keith Marshall, 2008/03/21
- [Groff] problem with pic, Werner LEMBERG, 2008/03/22
- [Groff] Re: problem with pic, Brian Kernighan, 2008/03/22
- RE: [Groff] problem with pic, Y T, 2008/03/22
Re: [Groff] Fw: problem with pic, Werner LEMBERG, 2008/03/20