[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible bug in pic regarding lines and corners
From: |
James Bostock |
Subject: |
Possible bug in pic regarding lines and corners |
Date: |
Mon, 31 Dec 2007 16:56:32 +0100 |
Hi,
In groff, the .ne, .nw, .se and .sw corners of a line are all placed
at the start of a line. I don't have access to the original pic but I
do have access to the Plan 9 pic which places these four corners at
the centre of the line. I imagine that groff's pic should behave as
the pic that came with the 10th edition Unix.
This appears to be due to the line_object class not overriding the
north_east(), north_west(), south_east() and south_west() methods of
the object class (the default implementations return the object's
origin which, for a line, is its start point).
However, since these corners do not make much sense in the context of
a line, maybe this cannot be considered a bug.
The attached me document at the end of this email illustrates the
problem. Process with "groff -p -me -Tps jb008.nr > jb008.ps".
The version of groff I tested with was 1.18.1 but the code referred to
is version 1.19.2 so I suspect the problem (if it is indeed a problem)
is still present.
Regards,
James
jb008.nr
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Possible bug in pic regarding lines and corners,
James Bostock <=