bug-groff
[Top][All Lists]
Advanced

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

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


From: Dave
Subject: [bug #58894] remove nonfunctional lines from groff font files
Date: Tue, 4 Aug 2020 02:11:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

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/




reply via email to

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