bug-groff
[Top][All Lists]
Advanced

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

[bug #63200] [grodvi] doesn't map \[aq] to a neutral glyph


From: G. Branden Robinson
Subject: [bug #63200] [grodvi] doesn't map \[aq] to a neutral glyph
Date: Tue, 11 Oct 2022 00:55:27 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?63200>

                 Summary: [grodvi] doesn't map \[aq] to a neutral glyph
                 Project: GNU troff
               Submitter: gbranden
               Submitted: Tue 11 Oct 2022 04:55:24 AM UTC
                Category: Driver - others/general
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 11 Oct 2022 04:55:24 AM UTC By: G. Branden Robinson <gbranden>
In _groff_, the `aq` special character is fairly militantly a neutral glyph.

Except when using -Tdvi.

However, such a neutral apostrophe is always available thanks to the Text
Companion (TC) fonts.

So, use the TC versions of this glyph even when employing CM for the text
fonts, which is the default.


diff --git a/tmac/dvi.tmac b/tmac/dvi.tmac
index 2ff831985..5ce2c4cc2 100644
--- a/tmac/dvi.tmac
+++ b/tmac/dvi.tmac
@@ -82,7 +82,16 @@
 .fchar \[=~] \v'.1m'\Z'\[eq]'\v'-.4m'\[ap]\v'.3m'
 .fchar \[tm] \v'-.3m'\s[\En[.s]/2u]TM\s0\v'.3m'
 .\" TC fonts contain real \[aq] glyphs
-.schar \[aq] '
+.fschar TR \[aq] \f[TRTC]\[aq]
+.fschar TI \[aq] \f[TITC]\[aq]
+.fschar TB \[aq] \f[TBTC]\[aq]
+.fschar TBI \[aq] \f[TBITC]\[aq]
+.fschar HR \[aq] \f[HRTC]\[aq]
+.fschar HI \[aq] \f[HITC]\[aq]
+.fschar HB \[aq] \f[HBTC]\[aq]
+.fschar HBI \[aq] \f[HBITC]\[aq]
+.fschar CW \[aq] \f[CWTC]\[aq]
+.fschar CWI \[aq] \f[CWITC]\[aq]
 .fchar \[bq] ,
 .fchar \[Bq] ,\h'\w'\[rq]'u-(2u*\w"'"u)',
 .fchar \[ho] \s[\En[.s]/2u]\v'.4m'c\v'-.4m'\s0








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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