Re: [Groff] Problems with arcs and angles

2017-04-28 Thread John Gardner
> > Does this help or did I manage to misunderstand you completely? I'm afraid so... the issue isn't with calculating radii, but calculating the `startAngle` and `endAngle`. This is perhaps better explained with an example: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2

Re: [Groff] Nesting font macros in man pages

2017-04-28 Thread Steffen Nurpmeso
Deri James wrote: |On Thu 27 Apr 2017 23:48:29 Steffen Nurpmeso wrote: |> Terrible, see the spacing errors surrounding the command list |> before the "Substitution" heading! Not your fault of course, but |> gr... |> |> --steffen | |Well, turns out it WAS my fault! Bug in gropdf, will

Re: [Groff] Nesting font macros in man pages

2017-04-28 Thread Steffen Nurpmeso
i wrote: |Ingo Schwarze wrote: ||Steffen Nurpmeso wrote on Tue, Apr 25, 2017 at 08:19:21PM +0200: ... |As above. That is all for today, i spent three hopeless hours in |the pic lex code, even shallow cloned 67 MB of gnulib for a few KB |of datatable that doesn't get used the right way, and

Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages).

2017-04-28 Thread Ingo Schwarze
Hi, Werner LEMBERG wrote on Fri, Apr 28, 2017 at 07:54:55AM +0200: > g.branden.robinson wrote: >> It'd be nice if 3 year-old bugs could get some feedback from the >> maintenance team. >> >> What needs to happen to make that possible? > A new maintainer. While that would no doubt be excellent,

Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages).

2017-04-28 Thread John Gardner
Yikes, that's an ugly dark side. > Those artificial barriers make it even more important that those > people who do not mind signing an FSF Copyright assignment do > actively contribute, and if that should result in an invitation to > join the groff project, become committers and help to review a

Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages).

2017-04-28 Thread Ingo Schwarze
Hi John, John Gardner wrote on Fri, Apr 28, 2017 at 11:14:55PM +1000: > ISC forever! Well, kind of "no" in the present context. While i do personally prefer the ISC license for software that i write myself, i also fully respect James Clark's decision to publish groff under the GPL, and i do ack

Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages).

2017-04-28 Thread John Gardner
Haha, don't worry, I respect all open-source licenses. That was intended as a jovial remark. Picking a license is, of course, a developer's personal decision. Personally, I just prefer simplicity and openness, hence my preference for the ISC license. Didn't expect that would be taken too seriousl

Re: [Groff] Problems with arcs and angles

2017-04-28 Thread Jones, Larry
Sorry, I just noticed that your drawing canvas measures the angles clockwise rather than the traditional counterclockwise so you need to negate the y coordinates to atan2: startAngle = Math.atan2(centreY - startY, startX - centreX) endAngle = Math.atan2(centreY - endY, endX - centreX) -Larry >

Re: [Groff] Problems with arcs and angles

2017-04-28 Thread G. Branden Robinson
At 2017-04-28T17:40:37+1000, John Gardner wrote: > > > > Does this help or did I manage to misunderstand you completely? > > > I'm afraid so... the issue isn't with calculating radii, but calculating > the `startAngle` and `endAngle`. Right. I got that but apparently communicated poorly. Sorry

Re: [Groff] Problems with arcs and angles

2017-04-28 Thread Ralph Corderoy
Hi John, > > Gorgeous. :-) > Groff's output gives me these coordinates to go by: > >

Re: [Groff] Nesting font macros in man pages

2017-04-28 Thread Steffen Nurpmeso
i wrote: |Ingo Schwarze wrote: ||Steffen Nurpmeso wrote on Tue, Apr 25, 2017 at 08:19:21PM +0200: ... ||P.S. ||Only bacause i'm replying anyway and it's just five lines: | |Sure. | ||> .Op : Ns Fl c Ar cc-addr Ns \&: ||> .Fl S Ar var Ns Op Ns = Ns Ar value Ns || ||That's full of ca