Bug 1498314 - ghostscript-9.20 is unable to use updated (URW)++ fonts
Summary: ghostscript-9.20 is unable to use updated (URW)++ fonts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 27
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: David Kaspar // Dee'Kej
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1498747 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-03 23:57 UTC by Dmitri A. Sergatskov
Modified: 2017-10-09 19:59 UTC (History)
4 users (show)

Fixed In Version: ghostscript-9.20-13.fc27
Clone Of:
Environment:
Last Closed: 2017-10-09 19:59:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dmitri A. Sergatskov 2017-10-03 23:57:49 UTC
Description of problem:
replacing urw-fonts with urw-base35 makes "Helvetica" font unavailble
and thus breaks ghostscript

Version-Release number of selected component (if applicable):
urw-base35-fonts-20170801-2.fc27
(and others)

How reproducible:
100%

Steps to Reproduce:
dnf install urw-fonts.noarch --allowerasing
gs -sDEVICE=nullpage -dBATCH -c '(Helvetica) findfont'

GPL Ghostscript 9.20 (2016-09-26)
Copyright (C) 2016 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file /usr/share/ghostscript/9.20/Resource/Font/NimbusSanL-Regu.
Can't find (or can't open) font file NimbusSanL-Regu.
Can't find (or can't open) font file /usr/share/ghostscript/9.20/Resource/Font/NimbusSanL-Regu.
Can't find (or can't open) font file NimbusSanL-Regu.
Querying operating system for font files...
Can't find (or can't open) font file /usr/share/ghostscript/9.20/Resource/Font/NimbusSanL-Regu.
Can't find (or can't open) font file NimbusSanL-Regu.
Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 4212444 2818510 7155104 5743779 1 done.

Now installing base35
dnf install urw-base35-fonts.noarch
gs -sDEVICE=nullpage -dBATCH -c '(Helvetica) findfont'
GPL Ghostscript 9.20 (2016-09-26)
Copyright (C) 2016 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file /usr/share/ghostscript/9.20/Resource/Font/NimbusSanL-Regu.
Can't find (or can't open) font file NimbusSanL-Regu.
Can't find (or can't open) font file /usr/share/ghostscript/9.20/Resource/Font/NimbusSanL-Regu.
Can't find (or can't open) font file NimbusSanL-Regu.
Querying operating system for font files...
Can't find (or can't open) font file /usr/share/ghostscript/9.20/Resource/Font/NimbusSanL-Regu.
Can't find (or can't open) font file NimbusSanL-Regu.
Didn't find this font on the system!
Substituting font Courier for NimbusSanL-Regu.
Can't find (or can't open) font file /usr/share/ghostscript/9.20/Resource/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Can't find (or can't open) font file /usr/share/ghostscript/9.20/Resource/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Didn't find this font on the system!
Unable to substitute for font.
Error: /invalidfont in /findfont
Operand stack:
   Helvetica
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   1935   1   3   %oparray_pop
Dictionary stack:
   --dict:1202/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--
Current allocation mode is local
Last OS error: Not a directory
GPL Ghostscript 9.20: Unrecoverable error, exit code 1

Comment 1 David Kaspar // Dee'Kej 2017-10-04 11:09:10 UTC
Yeah, this is caused by ghostscript not being updated in time. My mistake, I will make a Bodhi release today to solve this.

Comment 2 Fedora Update System 2017-10-04 11:18:47 UTC
ghostscript-9.20-13.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3d7ec36b9b

Comment 3 Dmitri A. Sergatskov 2017-10-04 14:58:07 UTC
I confirm that update to ghostscript-9.20-13.fc27 solves the problem.
Thanks!

Dmitri.

Comment 4 David Kaspar // Dee'Kej 2017-10-04 15:28:46 UTC
Thanks for the info! :)

Comment 5 David Kaspar // Dee'Kej 2017-10-05 10:56:07 UTC
*** Bug 1498747 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2017-10-06 04:27:52 UTC
ghostscript-9.20-13.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3d7ec36b9b

Comment 7 Fedora Update System 2017-10-09 19:59:17 UTC
ghostscript-9.20-13.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.