gbranden pushed a commit to branch master
in repository groff.
commit 4670e62a0e8580a2497aac3f8c7ea57d47c0912f
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Nov 24 12:20:03 2026 -0600
[doc,man]: Reform terminology.
Refer to the property tracked by the `ct` register as character
"extent", not "type". I reckon there was room for Ossanna to latch onto
the concept of "type" in his formatter, as he colleagues developing the
C compiler were uneasy with it.
We already use the term "shape" to distinguish "upright" from "slanted"
glyphs.
---
doc/groff.texi.in | 6 +++---
man/groff.7.man.in | 3 ++-
man/groff_font.5.man | 6 +++---
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 5e8043371..7e864a7b7 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -25692,7 +25692,7 @@ descriptions, one per line. Each such glyph
description comprises a set
of fields separated by spaces or tabs and organized as follows.
@quotation
-@var{name} @var{metrics} @var{type} @var{index} [@var{entity-name}]
+@var{name} @var{metrics} @var{extent} @var{index} [@var{entity-name}]
[@code{--} @var{comment}]
@end quotation
@@ -25816,7 +25816,7 @@ it should be less than the italic correction.
For fonts used with typesetters,
the
-@var{type}
+@var{extent}
field gives a featural description of the glyph:@:
it is a bit pair recording whether the glyph is an ascender,
descender,
@@ -25830,7 +25830,7 @@ for each glyph and stored in the
@code{ct}
register.
In font descriptions for terminals,
-all glyphs might have a type of zero,
+all glyphs might have extents of zero,
regardless of their appearance.
@table @code
diff --git a/man/groff.7.man.in b/man/groff.7.man.in
index 399cfffa6..6e7c9c3c5 100644
--- a/man/groff.7.man.in
+++ b/man/groff.7.man.in
@@ -8343,7 +8343,8 @@ Input line number.
.
.TP
.REG ct
-Union of character types of each glyph rendered into dummy environment
+Union of character extents
+of each glyph formatted in a dummy environment
by
.esc w .
.
diff --git a/man/groff_font.5.man b/man/groff_font.5.man
index 3a9e22bbf..feff5b42f 100644
--- a/man/groff_font.5.man
+++ b/man/groff_font.5.man
@@ -745,7 +745,7 @@ spaces or tabs and organized as follows.
.
.
.IP
-.I name metrics type index
+.I name metrics extent index
.RI [ entity-name ]
.RB [ \-\-
.IR comment ]
@@ -907,7 +907,7 @@ it should be less than the italic correction.
.P
For fonts used with typesetters,
the
-.I type
+.I extent
field gives a featural description of the glyph:
it is a bit pair recording whether the glyph is an ascender,
descender,
@@ -924,7 +924,7 @@ and stored in the
register.
.
In font descriptions for terminals,
-all glyphs might have a type of zero,
+all glyphs might have extents of zero,
regardless of their appearance.
.
.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit