Bug 1743658
Summary: | [config/type-ghostscript.xml.in] using outdated hardcoded paths for (URW)++ fonts | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | adam winberg <adam.winberg> |
Component: | ImageMagick | Assignee: | Jan Horak <jhorak> |
Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.7 | CC: | awyatt, ben.argyle, bobd, fedora, herbert.van.den.bergh, jlyle, maxbes, mstevens, pasik, tpelka |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-31 20:10:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
adam winberg
2019-08-20 12:05:17 UTC
Any thoughts on this? To clarify - with ImageMagick and ghostscript installed the following command errors out: [root@lxserv940:~]$ convert -size 1000x300 xc:none -pointsize 32 -fill white -gravity center -annotate +0+0 'TEST ' TEXT.png convert: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1124. convert: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1124. due to faulty hardcoded font paths in /etc/ImageMagick/type-ghostscript.xml I'm seeing this issue too. I can't use convert correctly as it's looking for /usr/share/ghostscript/fonts/n019003l.pfb which doesn't exist any more. ImageMagick-6.7.8.9-18.el7.x86_64 ghostscript-9.25-2.el7_7.2.x86_64 ghostscript-fonts-5.50-32.el7.noarch urw-base35-fonts-common-20170801-10.el7.noarch urw-base35-d050000l-fonts-20170801-10.el7.noarch urw-base35-nimbus-roman-fonts-20170801-10.el7.noarch urw-base35-standard-symbols-ps-fonts-20170801-10.el7.noarch urw-base35-z003-fonts-20170801-10.el7.noarch urw-base35-fonts-20170801-10.el7.noarch urw-base35-p052-fonts-20170801-10.el7.noarch urw-base35-bookman-fonts-20170801-10.el7.noarch urw-base35-nimbus-mono-ps-fonts-20170801-10.el7.noarch urw-base35-gothic-fonts-20170801-10.el7.noarch urw-base35-nimbus-sans-fonts-20170801-10.el7.noarch urw-base35-c059-fonts-20170801-10.el7.noarch What other information do you need from me? Workaround: mkdir $HOME/.magick sed 's,/usr/share/fonts/default/Type1/,/usr/share/X11/fonts/urw-fonts/,g' /etc/ImageMagick/type-ghostscript.xml > $HOME/.magick/type.xml We are seeing the same issues with the following package versions: $ rpm -qa | grep -i urw urw-base35-c059-fonts-20170801-10.el7.noarch urw-base35-nimbus-mono-ps-fonts-20170801-10.el7.noarch urw-base35-p052-fonts-20170801-10.el7.noarch urw-base35-standard-symbols-ps-fonts-20170801-10.el7.noarch urw-base35-gothic-fonts-20170801-10.el7.noarch urw-base35-nimbus-sans-fonts-20170801-10.el7.noarch urw-base35-fonts-20170801-10.el7.noarch urw-base35-z003-fonts-20170801-10.el7.noarch python-urwid-1.1.1-3.el7.x86_64 urw-base35-bookman-fonts-20170801-10.el7.noarch urw-base35-d050000l-fonts-20170801-10.el7.noarch urw-base35-fonts-common-20170801-10.el7.noarch urw-base35-nimbus-roman-fonts-20170801-10.el7.noarch $ rpm -qa | grep -i ghostscript ghostscript-cups-9.25-2.el7_7.2.x86_64 ghostscript-9.25-2.el7_7.2.x86_64 $ rpm -qa | grep -i imagemagick ImageMagick-c++-6.7.8.9-18.el7.x86_64 ImageMagick-6.7.8.9-18.el7.x86_64 ImageMagick-perl-6.7.8.9-18.el7.x86_64 (In reply to Herbert van den Bergh from comment #7) > Workaround: > > mkdir $HOME/.magick > sed 's,/usr/share/fonts/default/Type1/,/usr/share/X11/fonts/urw-fonts/,g' > /etc/ImageMagick/type-ghostscript.xml > $HOME/.magick/type.xml Thanks for this! Note that this workaround addresses: > convert: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1124. > convert: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1124. only if you first install urw-base35-fonts-legacy-20170801-10.el7.noarch.rpm. This package is not installed automatically with ImageMagick-6.7.8.9-18.el7.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1180 |