Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-13 Thread G. Branden Robinson
Hi Bjarni, At 2023-06-13T16:53:50+, Bjarni Ingi Gislason wrote: > How does \D't ...' influence the height of the text baseline as it > is just changing the "graphic pen" and moving it horizontally (in > the air) to its next position? I don't think the \D't' command has any impact on

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-13 Thread Bjarni Ingi Gislason
On Thu, Jun 08, 2023 at 06:19:39PM -0400, Steve Izma wrote: > On Tue, Jun 06, 2023 at 03:07:07PM -0500, G. Branden Robinson wrote: > > Subject: drawing commands in groff(7) (was: undiagnosed pic error) > > > \D't n' > > Set line thickness of geometric obj

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-12 Thread G. Branden Robinson
At 2023-06-12T19:35:11-0400, Peter Schaffter wrote: > On Fri, Jun 09, 2023, G. Branden Robinson wrote: > > At 2023-06-09T02:02:48-0400, Peter Schaffter wrote: > > > Hmm... It might be a subtle point, but mom already compensates > > > for it any time \D't n' is used to set line weight in a macro.

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-12 Thread Peter Schaffter
On Fri, Jun 09, 2023, G. Branden Robinson wrote: > At 2023-06-09T02:02:48-0400, Peter Schaffter wrote: > > Hmm... It might be a subtle point, but mom already compensates for > > it any time \D't n' is used to set line weight in a macro. > > Ah. Unless you compensated with \Z'\D't n'', then it

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread Deri
First attempt truncated, try this. :-( On Friday, 9 June 2023 17:04:56 BST G. Branden Robinson wrote: > Hi Deri, > > At 2023-06-09T12:26:00+0100, Deri wrote: > > On Thursday, 8 June 2023 23:33:25 BST G. Branden Robinson wrote: > > > It was there until literally days ago. It seemed like such a

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread G. Branden Robinson
[self-follow-up] At 2023-06-09T11:04:59-0500, G. Branden Robinson wrote: > I'm attaching the bundle of diffs that comprise this change and some > refactoring preliminaries. Maybe you can tell me if my test approach > was inadequate for PostScript? As so often happens, I forgot the attachment.

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread Deri
On Friday, 9 June 2023 17:04:56 BST G. Branden Robinson wrote: > Hi Deri, > > At 2023-06-09T12:26:00+0100, Deri wrote: > > On Thursday, 8 June 2023 23:33:25 BST G. Branden Robinson wrote: > > > It was there until literally days ago. It seemed like such a subtle > > > point that I thought I might

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread G. Branden Robinson
Hi Deri, At 2023-06-09T12:26:00+0100, Deri wrote: > On Thursday, 8 June 2023 23:33:25 BST G. Branden Robinson wrote: > > It was there until literally days ago. It seemed like such a subtle > > point that I thought I might get a Savannah ticket open against it > > and maybe even fixed for

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread Deri
On Thursday, 8 June 2023 23:33:25 BST G. Branden Robinson wrote: > It was there until literally days ago. It seemed like such a subtle > point that I thought I might get a Savannah ticket open against it and > maybe even fixed for groff-next before anyone noticed. Sorry. :( Be careful

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread G. Branden Robinson
At 2023-06-09T02:02:48-0400, Peter Schaffter wrote: > On Thu, Jun 08, 2023, G. Branden Robinson wrote: > > At 2023-06-08T18:19:39-0400, Steve Izma wrote: > > > On Tue, Jun 06, 2023 at 03:07:07PM -0500, G. Branden Robinson wrote: > > > I'm pretty sure this anomaly has been discussed on the groff

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread Peter Schaffter
On Thu, Jun 08, 2023, G. Branden Robinson wrote: > At 2023-06-08T18:19:39-0400, Steve Izma wrote: > > On Tue, Jun 06, 2023 at 03:07:07PM -0500, G. Branden Robinson wrote: > > I'm pretty sure this anomaly has been discussed on the groff list > > before, but I don't know of any explanation in the

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-08 Thread G. Branden Robinson
Hi Steve, At 2023-06-08T18:19:39-0400, Steve Izma wrote: > On Tue, Jun 06, 2023 at 03:07:07PM -0500, G. Branden Robinson wrote: > > Subject: drawing commands in groff(7) (was: undiagnosed pic error) > > > \D't n' > > Set line thickness of geometric obj

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-08 Thread Steve Izma
On Tue, Jun 06, 2023 at 03:07:07PM -0500, G. Branden Robinson wrote: > Subject: drawing commands in groff(7) (was: undiagnosed pic error) > \D't n' > Set line thickness of geometric objects to to n basic units. A > zero n selects the minimal supported thickness.

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-07 Thread G. Branden Robinson
At 2023-06-07T09:54:29-0400, Douglas McIlroy wrote: > Thanks for concentrating our attention on detail. > > Now I see that Branden hid some easter eggs for us to find. They hid from me, too! :-O > 1. An ellipse is said to have "diameter d". Actually it has principal > axes of lengths h and v.

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-07 Thread Douglas McIlroy
Deri, Thanks for concentrating our attention on detail. Now I see that Branden hid some easter eggs for us to find. 1. An ellipse is said to have "diameter d". Actually it has principal axes of lengths h and v. 2. There's a typo hv for the relative vertical position of arc center vc. 3. It

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-06 Thread Deri
On Tuesday, 6 June 2023 21:07:07 BST G. Branden Robinson wrote: > \D'a hc hv h v' > Draw circular arc centered at (hc, vc) from the drawing position > to (h, v). Hi Branden, I'm not sure if this is relevent but have you seen the comment in the routine adjust_arc_center

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-06 Thread Douglas McIlroy
Branden Your \D description looks good, except perhaps for the word "solid", which I suppose was to avoid overloading "fill". But "fill" is baked into pic, from which I suspect the vast majority of \Ds originate. It's also PostScript terminology. I wrote the raster ellipse-drawing program for

drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-06 Thread G. Branden Robinson
[self-follow-up] At 2023-06-05T20:57:37-0500, G. Branden Robinson wrote: > Hi Doug, > > At 2023-06-05T19:48:50-0400, Douglas McIlroy wrote: > > > I understand that groff has the \D escape which allows you, among > > > other things, to draw outline and filled polygons. > > > > Very helpful. I