bug-groff
[Top][All Lists]
Advanced

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

[bug #58897] [PATCH] ellipses need kerning too


From: G. Branden Robinson
Subject: [bug #58897] [PATCH] ellipses need kerning too
Date: Thu, 14 Jan 2021 08:54:00 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #58897 (project groff):

                  Status:                    None => Fixed                  
             Assigned to:                    None => gbranden               
             Open/Closed:                    Open => Closed                 
         Planned Release:                    None => 1.23.0                 

    _______________________________________________________

Follow-up Comment #3:


commit 81b4ffadc1ced740ecb4e1eceff7dd0f3423c176 (HEAD -> master,
origin/master, origin/HEAD)
Author: Dave Kemper <saint.snit@gmail.com>
Date:   Wed Aug 5 04:51:54 2020 +0000

    font/devps/*: Kern horizontal ellipsis correctly.
    
    Commit 87edb525, from 2003, added character U+2026 (HORIZONTAL ELLIPSIS)
    to most base groff fonts, but there has been no kerning information for
    this character.  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.
    
    Apply the following shell command to the groff description files
    of the PostScript fonts.
    
      for file in font/devps/*[A-Z]
        do sed -Ei\~ 's/(.*)(^| )\. (.*)/&\n\1\2u2026 \3/' $file
      done
    
    * font/devps/AB:
    * font/devps/ABI:
    * font/devps/AI:
    * font/devps/AR:
    * font/devps/BMB:
    * font/devps/BMBI:
    * font/devps/BMI:
    * font/devps/BMR:
    * font/devps/HB:
    * font/devps/HBI:
    * font/devps/HI:
    * font/devps/HNB:
    * font/devps/HNBI:
    * font/devps/HNI:
    * font/devps/HNR:
    * font/devps/HR:
    * font/devps/NB:
    * font/devps/NBI:
    * font/devps/NI:
    * font/devps/NR:
    * font/devps/PB:
    * font/devps/PBI:
    * font/devps/PI:
    * font/devps/PR:
    * font/devps/TB:
    * font/devps/TBI:
    * font/devps/TI:
    * font/devps/TR:
    * font/devps/ZCMI: Apply above script.
    
    Fixes <https://savannah.gnu.org/bugs/?58897>.  However, this will need
    to be done again if afmtodit is used to regenerate the above files, or
    afmtodit will need to be modified to add this kerning information
    itself.


    _______________________________________________________

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]