bug-groff
[Top][All Lists]
Advanced

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

[bug #58897] ellipses need kerning too


From: Dave
Subject: [bug #58897] ellipses need kerning too
Date: Tue, 4 Aug 2020 12:33:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

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

                 Summary: ellipses need kerning too
                 Project: GNU troff
            Submitted by: barx
            Submitted on: Tue 04 Aug 2020 11:33:02 AM CDT
                Category: Font devps
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Commit 87edb525, from 2003, added character u2026 (HORIZONTAL ELLIPSIS) to
most base groff fonts.  But to this day there is no kerning information for
this character.


sed -n '/^kernpairs$/,/^$/p' font/devps/[A-Z]* | fgrep 2026 | wc -l


To produce consistent typography, it should be kerned the same way as the
period, which is in 818 kern pairs across all the devps fonts.


sed -n '/^kernpairs$/,/^$/p' font/devps/[A-Z]* | fgrep . | wc -l


It would be easy to write a script to patch these files by duplicating the .
kernpairs for the ellipsis.  But as bug #57506 points out, some aspect
(perhaps the entirety) of these files is generated by afmtodit, so this
shortcoming may be better addressed in that script, or in the original .afm
files that script reads.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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