groff-commit
[Top][All Lists]
Advanced

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

[groff] 02/23: Define fallbacks for `OK` and `u2717` spec chars.


From: G. Branden Robinson
Subject: [groff] 02/23: Define fallbacks for `OK` and `u2717` spec chars.
Date: Wed, 16 Oct 2024 15:00:26 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 5c41c317778ed9d7c049fb5668f0af03f6659b90
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Oct 14 13:26:31 2024 -0500

    Define fallbacks for `OK` and `u2717` spec chars.
    
    * man/groff_tmac.5.man:
    * src/devices/gropdf/gropdf.1.man: These man pages employ an unusual
      character, U+2717 "BALLOT X".  Define a fallback character for devices
      incapable of rendering that.
    
    * tmac/tty.tmac: Define fallback character for groff `OK` special
      character.
    
    Fixes <https://savannah.gnu.org/bugs/?66328>.  Thanks to Bjarni Ingi
    Gislason for the report.
---
 ChangeLog                       | 13 +++++++++++++
 man/groff_tmac.5.man            |  3 +++
 src/devices/gropdf/gropdf.1.man |  5 ++++-
 tmac/tty.tmac                   |  2 ++
 4 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 37ad37e60..24706cd4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2024-10-14  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * man/groff_tmac.5.man:
+       * src/devices/gropdf/gropdf.1.man: These man pages employ an
+       unusual character, U+2717 "BALLOT X".  Define a fallback
+       character for devices incapable of rendering that.
+
+       * tmac/tty.tmac: Define fallback character for groff `OK`
+       special character.
+
+       Fixes <https://savannah.gnu.org/bugs/?66328>.  Thanks to Bjarni
+       Ingi Gislason for the report.
+
 2024-10-14  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/devices/grops/ps.cpp (ps_printer::special): Fix off-by-one
diff --git a/man/groff_tmac.5.man b/man/groff_tmac.5.man
index 8b5ca1212..61162c963 100644
--- a/man/groff_tmac.5.man
+++ b/man/groff_tmac.5.man
@@ -44,6 +44,9 @@ typesetting system
 .\}
 .rr do-fallback
 .
+.\" This man page employs an unusual character.
+.fchar \[u2717] X
+.
 .
 .\" TODO: Consider parallelizing with our Texinfo node "Macro Packages".
 .\" ====================================================================
diff --git a/src/devices/gropdf/gropdf.1.man b/src/devices/gropdf/gropdf.1.man
index f0334402d..ac85a5871 100644
--- a/src/devices/gropdf/gropdf.1.man
+++ b/src/devices/gropdf/gropdf.1.man
@@ -46,7 +46,6 @@ output driver for Portable Document Format
 .\}
 .rr do-fallback
 .
-.
 .\" This macro definition is poor style from a portability standpoint,
 .\" but it's a good test and demonstration of the standard font
 .\" repertoire for the devices where it has any effect at all, and so
@@ -56,6 +55,10 @@ output driver for Portable Document Format
 .  if '\\*(.T'pdf' .ft \\$1
 ..
 .
+.\" This man page employs an unusual character.
+.fchar \[u2717] X
+.
+.
 .\" ====================================================================
 .SH Synopsis
 .\" ====================================================================
diff --git a/tmac/tty.tmac b/tmac/tty.tmac
index 2545a8273..6d2bab525 100644
--- a/tmac/tty.tmac
+++ b/tmac/tty.tmac
@@ -128,6 +128,7 @@
 .fchar \[sq] []
 .fchar \[lh] <=
 .fchar \[rh] =>
+.fchar \[OK] /
 .fchar \[lA] <=
 .fchar \[rA] =>
 .fchar \[hA] <=>
@@ -152,6 +153,7 @@
 .fchar \[radicalex] \[rn]
 .fchar \[sqrtex] \[rn]
 .
+.
 .\" color definitions
 .defcolor black rgb #000000
 .defcolor red rgb #ff0000



reply via email to

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