groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/06: [docs]: Document default scaling unit for circles.


From: G. Branden Robinson
Subject: [groff] 02/06: [docs]: Document default scaling unit for circles.
Date: Sat, 24 Jun 2023 19:49:15 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 13dcd6f7abfd8762caf60978ada09a6ed1601719
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Jun 23 12:09:08 2023 -0500

    [docs]: Document default scaling unit for circles.
    
    Is the diameter of a circle a horizontal or a vertical measurement?  The
    former get a default of ems, the latter of vees.  So it matters.
    
    CSTR #54 did not specify this.
    
    Also fix typo.
---
 doc/groff.texi  | 4 ++--
 man/groff.7.man | 7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index 6834e9ad0..1ea51397c 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -14045,8 +14045,8 @@ figures, except where noted.  GNU @code{troff} draws 
stroked (outlined)
 objects with the stroke color, and shades filled ones with the fill
 color.  @xref{Colors}.  Coordinates @var{h} and @var{v} are horizontal
 and vertical motions relative to the drawing position or previous point
-in the command.  The default scaling unit for horizontal measurements is
-@samp{m}; for vertical ones, @samp{v}.
+in the command.  The default scaling unit for horizontal measurements
+(and diameters of circles) is @samp{m}; for vertical ones, @samp{v}.
 
 Circles, ellipses, and polygons can be drawn filled or stroked.  These
 are independent properties; if you want a filled, stroked figure, you
diff --git a/man/groff.7.man b/man/groff.7.man
index 820f02442..71758cb24 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -5413,8 +5413,9 @@ and
 are horizontal and vertical motions relative to the drawing position
 or previous point in the command.
 .
-The default scaling unit for horizontal measurements is
-.BR m ;
+The default scaling unit for horizontal measurements
+(and diameters of circles)
+.RB is\~ m ;
 for vertical ones,
 .BR v .
 .
@@ -5449,7 +5450,7 @@ leaving drawing position at
 .\" XXX: This is one case where a valid coordinate pair could be off the
 .\" page (even negative) and we need to discuss this frankly.
 .TP
-.BI \[rs]D\[aq]a\~ "hc hv h v" \[aq]
+.BI \[rs]D\[aq]a\~ "hc vc h v" \[aq]
 Draw circular arc centered at
 .RI ( hc ,\~ vc )
 counterclockwise from the drawing position to a point



reply via email to

[Prev in Thread] Current Thread [Next in Thread]