bug-groff
[Top][All Lists]
Advanced

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

[bug #64790] [troff] use default value zero for ligatures and kerning in


From: Bjarni Ingi Gislason
Subject: [bug #64790] [troff] use default value zero for ligatures and kerning in nroff mode
Date: Wed, 18 Oct 2023 14:45:23 -0400 (EDT)

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

                 Summary:  [troff] use default value zero for ligatures and
kerning in nroff mode
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Wed 18 Oct 2023 06:45:21 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Feature change
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 18 Oct 2023 06:45:21 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: [troff] use default value zero for ligatures and kerning in
nroff mode

  Currently both "global_ligature_mode" and "global_kerning_mode" (in
src/roff/troff/node.cpp) are set to the value one (1, true) for both
nroff and troff mode.

  But in nroff mode the fonts do neither have ligatures nor kerning
data,
so the software is executing code, that in effect changes nothing,
but uses energy for nothing.

  The forgoing variables should therefore be initialised to zero
(0, false) in nroff mode.

  Also add a warning when ligature or kerning is asked for when in
nroff mode.








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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