bug-groff
[Top][All Lists]
Advanced

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

[bug #64144] [man] problems with fonts with no /space glyph and no hyphe


From: G. Branden Robinson
Subject: [bug #64144] [man] problems with fonts with no /space glyph and no hyphen glyph
Date: Wed, 3 May 2023 21:02:27 -0400 (EDT)

Update of bug #64144 (project groff):

                  Status:                    None => Need Info              
             Assigned to:                    None => deri                   
                 Summary: Problems with fonts with no /space glyph and no
hyphen glyph => [man] problems with fonts with no /space glyph and no hyphen
glyph

    _______________________________________________________

Follow-up Comment #1:

Hi Deri,

This sounds like 2 different issues, one arising from my recent change to
afmtodit, and one in the man macro package.

See if this patch does this trick:


$ git di tmac/an.tmac
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 9e38ba569..8f199430c 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1480,11 +1480,14 @@ contains unsupported escape sequence
 .\}
 .
 .\" type size
+.
+.\" We take special care with the output comparison operator here
+.\" because a CJK font lacking a hyphen glyph might be selected.
 .if !r S \{\
 .  nr S 10
-.  if '\*[.T]'X75-12' \
+.  if '\?\*[.T]\?'\?X75-12\?' \
 .    nr S 12
-.  if '\*[.T]'X100-12' \
+.  if '\?\*[.T]\?'\?X100-12\?' \
 .    nr S 12
 .\}
 .


Please reassign back to me when you have results.

Probably the same thing will have to be done for mdoc(7).


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64144>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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