gbranden pushed a commit to branch master
in repository groff.
commit ba98de23ad1409e52fc2cb02c60cc98543473ede
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Dec 12 08:39:18 2025 -0600
contrib/mm/mm/0.MT: Add annotation.
Articulate the problems terminals face in drawing baseline rules.
---
contrib/mm/mm/0.MT | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/contrib/mm/mm/0.MT b/contrib/mm/mm/0.MT
index c5a07f49e..427918362 100644
--- a/contrib/mm/mm/0.MT
+++ b/contrib/mm/mm/0.MT
@@ -223,6 +223,12 @@ http://savannah.gnu.org/bugs/?group=groff.
.sp |\\n[cov*top1]u
.nr cov*saved-adjustment \\n[.j]
.ad l
+.\" Use the em dash to draw the rule in nroff mode, since terminal
+.\" devices generally don't have a baseline rule glyph. The "low line"
+.\" descends below the baseline and terminal fonts generally don't have
+.\" it span the character cell completely. (Even a Unicode font might
+.\" do so for the em dash; we make a best-effort attempt to look
+.\" pleasant.)
.ie t .nop \l'\\n[.l]u'
.el .nop \l'\\n[.l]u\[em]'
.\" DWB 3.3 mm set the firm name in bold on nroff devices, and
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit