gbranden pushed a commit to branch master
in repository groff.

commit 7cb1ba84439e22884185a521e022dd498f984d2d
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Nov 20 16:19:59 2026 -0600

    [doc,man]: bd, cs, fzoom, tkf are font-global.
    
    That is, they are not properties of the environment, but affect the
    given font in all environments.
    
    Also break Texinfo input lines in convenient places for roffing and
    diffing.
---
 doc/groff.texi.in    | 16 +++++++++++-----
 man/groff.7.man.in   | 29 ++++++++++++++++++++---------
 man/groff_diff.7.man |  4 +++-
 3 files changed, 34 insertions(+), 15 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 559bdcc64..4b2c4cb33 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -13456,7 +13456,8 @@ Set magnification of
 @var{font}
 to factor
 @var{zoom},
-a multiplier in thousandths applied to the type size.
+a multiplier in thousandths applied to the type size,
+in all environments.
 @var{zoom}
 must be non-negative.
 @code{fzoom}
@@ -15301,7 +15302,10 @@ is a font identifier or mounting position.
 @DefregListEndx {.b}
 @cindex imitating boldface (@code{bd})
 @cindex boldface, imitating (@code{bd})
-Embolden @var{font} by overstriking its glyphs offset by @var{offset}
+Embolden
+@var{font}
+in all environments by overstriking its glyphs offset by
+@var{offset}
 units minus one.
 
 Two syntax forms are available.
@@ -15347,7 +15351,8 @@ request).
 Apply
 @dfn{constant glyph spacing}
 to font
-@var{font}.
+@var{font}
+in all environments.
 @cindex advance width
 @cindex width, advance
 The
@@ -15486,8 +15491,9 @@ if the reader notices the effect.
 @Defreq {tkf, f s1 n1 s2 n2}
 @cindex activating track kerning (@code{tkf})
 @cindex track kerning, activating (@code{tkf})
-Enable track kerning for
-font@tie{}@var{f}.
+Configure track kerning for
+font@tie{}@var{f}
+in all environments.
 If the selected font
 is@tie{}@var{f},
 increase the advance width by an amount between
diff --git a/man/groff.7.man.in b/man/groff.7.man.in
index f000bdc4a..1322f9456 100644
--- a/man/groff.7.man.in
+++ b/man/groff.7.man.in
@@ -3322,12 +3322,14 @@ option of
 .REQ .bd font
 Stop emboldening font
 .I font
+in all environments
 by overstriking its glyphs.
 .
 .TPx
 .REQ .bd "font n"
 Embolden
 .I font
+in all environments
 by overstriking its glyphs offset by
 .IR n \-1
 units.
@@ -3340,6 +3342,7 @@ See
 .REQ .bd "special-font font"
 Stop emboldening
 .I special-font
+in all environments
 when
 .I font
 is selected.
@@ -3353,10 +3356,12 @@ not a mounting position.
 .TPx
 .REQ .bd "special-font font n"
 Embolden
-.I special-font,
-overstriking its glyphs offset by
+.I special-font
+in all environments
+by overstriking its glyphs offset by
 .IR n \-1
-units when
+units,
+when
 .I font
 is selected.
 .
@@ -3622,12 +3627,14 @@ compatibility mode per Boolean expression
 .TPx
 .REQ .cs font
 Disable constant glyph spacing for font
-.I font.
+.I font
+in all environments.
 .
 .TPx
 .REQ .cs "font n"
 Enable constant glyph spacing for font
-.IR font ,
+.I font
+in all environments,
 overriding the advance width of every glyph in font to
 .IR n /36
 ems.
@@ -3635,7 +3642,8 @@ ems.
 .TPx
 .REQ .cs "font n p"
 Enable constant glyph spacing for font
-.IR font ,
+.I font
+in all environments,
 overriding the advance width of every glyph in font to
 .IR n /36
 ems with an assumed em size of
@@ -4162,7 +4170,8 @@ to
 .TQ
 .REQ .fzoom f\~\f[B]1000\f[]
 Stop magnifying
-.RI font\~ f .
+.RI font\~ f
+in all environments.
 .
 .IR f \~must
 be a resolved font name,
@@ -4173,7 +4182,8 @@ not an abstract style or mounting position.
 Set zoom factor
 .I zoom
 for
-.RI font\~ f .
+.RI font\~ f
+in all environments.
 .
 .I zoom
 must be a non-negative integer;
@@ -5654,7 +5664,8 @@ Temporarily indent next output line
 .TPx
 .REQ .tkf "font s1 n1 s2 n2"
 Enable track kerning for font
-.I font.
+.I font
+in all environments.
 If the selected font is
 .I font,
 increase the advance width by an amount between
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index b0e64d8cb..08708b85c 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -1999,6 +1999,7 @@ and
 .BI .bd\~ "special-font font"
 Stop emboldening
 .I special-font
+in all environments
 when
 .I font
 is selected.
@@ -4644,7 +4645,8 @@ request.
 .TP
 .BI .tkf\~ f\~s1\~n1\~s2\~n2
 Enable track kerning for
-.RI font\~ f.
+.RI font\~ f
+in all environments.
 If the selected font
 .RI is\~ f,
 increase the advance width by an amount between

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to