bugGNU troff - Bugs: bug #57506, Erroneous "slant" value...


bug #57506: Erroneous "slant" value in Times italic font(s) for ps device

Submitted by:  Dave <barx>
Submitted on:  Mon 30 Dec 2019 04:23:19 PM UTC  
Category:  Font devps Severity:  3 - Normal
Item Group:  Documentation Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 17 Mar 2020 08:39:21 AM UTC, comment #1: 

This bug dates to at least groff 1.02: commit 351da0dc, the oldest available in git, shows that both of these files (then in directory ps/devps) had the same slant values then that they have today.

$ git show 351da0dc:ps/devps/TI | grep ^slant
slant 7
$ git show 351da0dc:ps/devps/TBI | grep ^slant
slant 15

But these files, while they are groff source files (in that they live in the groff source-code repository), do not appear to be actual source files, in that they are built by font/devps/generate/Makefile (today, or ps/devps/FontMakefile back in commit 351da0dc).  Thus this bug may be in the source files that TI and TBI are built from, or in the tools used to build them.

The primary tool is the afmtodit Perl script, which is part of groff (src/utils/afmtodit/afmtodit.pl, or ps/devps/afmtodit back in 351da0dc).

I am not sure of the origin of the primary source files, Times-Italic.afm and Times-BoldItalic.afm.  They don't live in the groff source tree (if they did, presumably TI and TBI would not, instead being built by the groff build process) or anywhere on my system.  The Makefile expects them to be in /usr/local/lib/afm.

Dave <barx>
Mon 30 Dec 2019 04:23:19 PM UTC, original submission:  

The output of this command, run from the top of the groff source tree (or from /usr/share/groff/current on a system with groff installed) is highly questionable:

$ grep ^slant font/devps/T*
font/devps/TBI:slant 15
font/devps/TI:slant 7

It surely isn't correct that Bold Italic has twice the slant of Italic for the ps device.  The slants appear visually identical (as they should), and the slant values are identical in every other pair of Italic / Bold Italic fonts in font/devps (grep ^slant font/devps/*), and nearly identical for Times Italic and Times Bold Italic in every other font/dev* directory (grep ^slant font/dev*/T*).

Dave <barx>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by barx (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5