On Friday, 21 November 2025 20:14:31 GMT onf wrote:
> Hi Deri,
> 
[...]
> Nice!
> 
> However, \D'r' produces rectangles with round edges (like its \D'p'
> counterpart). Is that what we want? \D'R' is described as drawing a
> "rule", which I interpret as a filled rectangle with sharp edges. One
> disadvantage of it being filled is that the lines have a thickness of
> zero and thus one needs to know the default line thickness (0.04m) to
> emulate a sharp-edged \D'l 1m 0'. \D'r' does not suffer from this issue
> as its lines aren't zero width, meaning that \D'r 1m 0' is equivalent to
> \D'l 1m 0'. But the fact that it has round edges also prevents it from
> being useful for drawing rules since, as noted above, rules should have
> sharp edges.
> 
> Cheers,
> onf

Hi onf,

The grops man page hints at the solution to this, the simplest solution is to 
use:-

\X'ps: exec 0 setlinejoin 0 setlinecap'\c

which works for both grops and gropdf.

setlinejoin
-----------
0 = Miter Join
1 = Round Join
2 = Bevel Join

setlinecap
----------
0 = Butt cap
1 = Round cap
2 = Projecting square cap

Hope this helps.

Cheers

Deri





Reply via email to