gbranden pushed a commit to branch master
in repository groff.

commit c5d6280f3dc4632f92826bdb3906a5737d2a7a33
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Nov 27 01:56:25 2024 -0600

    groff_tmac(5),gropdf(1): Use better fallback.
    
    ...for \[u2717].  This approach is a true "last-resort" method that only
    takes effect if all glyph searches fail, including those of special
    fonts.  Discovered while comparing these pages' table output in the
    "ascii", "utf8", and "pdf" devices.  Neither `fchar` nor `schar` (used
    unconditionally) is quite what we want.
---
 man/groff_tmac.5.man            | 2 +-
 src/devices/gropdf/gropdf.1.man | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/groff_tmac.5.man b/man/groff_tmac.5.man
index f7df3eb67..d9245e375 100644
--- a/man/groff_tmac.5.man
+++ b/man/groff_tmac.5.man
@@ -45,7 +45,7 @@ typesetting system
 .rr do-fallback
 .
 .\" This man page employs an unusual character.
-.fchar \[u2717] X
+.if !c \[u2717] .char \[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 f9b6329fc..6ce4e5b7e 100644
--- a/src/devices/gropdf/gropdf.1.man
+++ b/src/devices/gropdf/gropdf.1.man
@@ -56,7 +56,7 @@ output driver for Portable Document Format
 ..
 .
 .\" This man page employs an unusual character.
-.fchar \[u2717] X
+.if !c \[u2717] .char \[u2717] X
 .
 .
 .\" ====================================================================

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

Reply via email to