groff-commit
[Top][All Lists]
Advanced

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

[groff] 12/80: groff_tmac(5),gropdf(1): Use better fallback.


From: G. Branden Robinson
Subject: [groff] 12/80: groff_tmac(5),gropdf(1): Use better fallback.
Date: Sat, 30 Nov 2024 04:02:13 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit c5d6280f3dc4632f92826bdb3906a5737d2a7a33
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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
 .
 .
 .\" ====================================================================



reply via email to

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