bugGNU roff - Bugs: bug #56748, URW font name changes (again!!)

 
 

bug #56748: URW font name changes (again!!)

Submitter:  Deri James <deri>
Submitted:  Sun 11 Aug 2019 03:16:51 PM UTC
   
 
Category:  Font devpdf Severity:  3 - Normal
Item Group:  Build/Installation Status:  Fixed
Privacy:  Public Assigned to:  deri
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 16 May 2021 02:22:00 AM UTC, comment #2: 


comment #1:

> I'll split off the configure check stuff into its own issue.


Files as bug #60613.

G. Branden Robinson <gbranden>
Group administrator
Sun 16 May 2021 02:13:29 AM UTC, comment #1: 

I'll split off the configure check stuff into its own issue.  The topic of this bug was the font name changes, which Deri resolved almost 2 years ago.


commit ef16d931a451621c14ca5b7706f91bc87797cf50
Author:     Deri James <deri@chuzzlewit.myzen.co.uk>
AuthorDate: Sat Sep 21 16:03:37 2019 +0100
Commit:     Deri James <deri@chuzzlewit.myzen.co.uk>
CommitDate: Sat Sep 21 16:03:37 2019 +0100

    Add new ghostscript font names

    * font/devpdf/Foundry.in: Add changed font names


G. Branden Robinson <gbranden>
Group administrator
Sun 11 Aug 2019 03:16:51 PM UTC, original submission:  

Artifex have renamed the URW fonts again, and the zip file containing the original named fonts (which is referred to in the configure script if the fonts are not found) is no longer available. See this message:-

https://lists.gnu.org/archive/html/bug-groff/2019-08/msg00001.html

In order to cater for this change I have updated the Foundry.in file and added two option flags to BuildFoundries.pl. The first flag is "--dirURW" which can be followed by the directory which contains the path to the directory with the URW fonts. The second is "--check" which does a "dry run", not changing anything, it exits with a status of zero if all the fonts and .afm files it requires have been found, otherwise it exits with 1 if any font files are missing or 2 if any .afm files were not found. 3 means both. In this "check" mode it opens the file "Foundry.in" (rather than "Foundry" so that it could be run at the configure stage. Additionally you can pass the directory of devpdf on the command line rather than switching to it in configure.

When "--dirURW" is given it is placed at the start of directories to be searched. Currently, configure still fails if you specify "--with-urw-fonts-dir" using the latest URW fonts from github, because it is looking for the original font filenames, not what they are now called. I don't feel confident changing the configure script to use the new "--check" mode, any volunteers?

I have attached the new versions. If you have the URW fonts somewhere on the system and want to test, you can circumvent the current configure test by "touch a0100131.pfb" in the same directory as the URW fonts, and BuildFoundries will find the fonts, even though it will use the old way of patching the Foundry file rather than passing a command line argument.

Deri James <deri>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #47326:  Foundry.in added by deri (8KiB - application/octet-stream)
file #47327:  BuildFoundries.pl added by deri (10KiB - application/x-perl)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by deri (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-16 gbranden StatusConfirmed Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2019-08-11 deri Attached File- Added Foundry.in, #47326
        Attached File- Added BuildFoundries.pl, #47327

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code