Dave
2020-08-04 16:33:03 UTC
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/
<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/