Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.groff.bug > #1939

[bug #58894] remove nonfunctional lines from groff font files

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Dave <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.groff.bug
Subject [bug #58894] remove nonfunctional lines from groff font files
Date Tue, 4 Aug 2020 02:11:21 -0400 (EDT)
Lines 74
Approved bug-groff@gnu.org
Message-ID <mailman.706.1596521483.2739.bug-groff@gnu.org> (permalink)
References <20200804-011119.sv93119.91090@savannah.gnu.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
X-Trace usenet.stanford.edu 1596521483 29863 209.51.188.17 (4 Aug 2020 06:11:23 GMT)
X-Complaints-To action@cs.stanford.edu
To Dave <saint.snit@gmail.com>, bug-groff@gnu.org
Envelope-to bug-groff@gnu.org
X-PHP-Originating-Script 1001:sendmail.php
X-Savane-Server savannah.gnu.org:443 [2001:470:142::72]
X-Savane-Project groff
X-Savane-Tracker bugs
X-Savane-Item-ID 58894
User-Agent Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0
X-Apparently-From 2605:a601:ab42:5b00:d79a:70a3:b6a4:34bf (Savane authenticated user barx)
In-Reply-To
X-BeenThere bug-groff@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id "Bug reports for the GNU version of nroff, troff et al" <bug-groff.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-groff>
List-Post <mailto:bug-groff@gnu.org>
List-Help <mailto:bug-groff-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <20200804-011119.sv93119.91090@savannah.gnu.org>
Xref csiph.com gnu.groff.bug:1939

Show key headers only | View raw


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

                 Summary: remove nonfunctional lines from groff font files
                 Project: GNU troff
            Submitted by: barx
            Submitted on: Tue 04 Aug 2020 01:11:19 AM CDT
                Category: Font devps
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

As bug #58718 observes, groff does not allow kernpairs in its font files with
a space as the first element.

Despite this, several kernpair entries in a handful of font files
(specifically font/devps/{[HN]*,PR}) have "u0020" as the first element.  True
to Werner's assertion, these lines seem to have no effect.


$ cat kerntest
.de sample
A Very Yellow Tortoise Always Wins.
..
.ps 24
.vs 24
.nf
.sp
.fam N
.sample
.fam New
.sample
.fam Newest
.sample
$ mkdir /tmp/devps
$ grep -v ^u0020 /usr/share/groff/current/font/devps/NR > /tmp/devps/NewR
$ grep -v '^[VTY] ' /usr/share/groff/current/font/devps/NR >
/tmp/devps/NewestR
$ groff -F/tmp kerntest > kerntest.ps


The first two lines of the resulting PostScript file look identical, despite
the lines using font files that specify different kerning rules around spaces.
 The third output line definitely shows by contrast the absence of kerning
after some of the capital letters.

Groff shouldn't ship font files with lines that don't do the advertised job. 
Ideally, bug #58718 would be fixed so that these lines _do_ work.  But if a
fix for that bug is not ready by the time of the next release, the
nonfunctional lines in the font files should be removed.




    _______________________________________________________

Reply to this item at:

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

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

Back to gnu.groff.bug | Previous | Next | Find similar


Thread

[bug #58894] remove nonfunctional lines from groff font files Dave <INVALID.NOREPLY@gnu.org> - 2020-08-04 02:11 -0400

csiph-web