Bug 1919997

Summary: Unable to read font
Product: [Fedora] Fedora EPEL Reporter: Remi Collet <fedora>
Component: GraphicsMagickAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: andreas, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: GraphicsMagick-1.3.36-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-10 01:46:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
0001-fix-bundle-fonts-on-epel8-1919997.patch none

Description Remi Collet 2021-01-25 14:24:05 UTC
Only affects version  	1.3.36-1.el8

Running php-pecl-gmagick test suite

001+ Fatal error: Uncaught GmagickException: Unable to read font (/usr/share/GraphicsMagick-1.3.36/urw-fonts/n019003l.pfb) in /builddir/build/BUILD/php-pecl-gmagick-2.0.5~RC1/NTS/tests/gmagickdraw_045_setFontFamily_basic.php:37


Indeed this file is missing.

Digging in the spec file, I notice how fonts are bundled on EL-8 because of missing urw-base35-fonts-legacy.

Comment 1 Remi Collet 2021-01-25 14:36:32 UTC
Created attachment 1750531 [details]
0001-fix-bundle-fonts-on-epel8-1919997.patch

git format-patch fixing this issue.

Move fonts installation AFTER directory cleanup

Comment 2 Remi Collet 2021-01-25 14:37:45 UTC
With attached patch, fonts are now provided and php-pecl-gmagick test suite passes.

Comment 3 Fedora Update System 2021-01-25 16:44:55 UTC
FEDORA-EPEL-2021-a67c7cb2e0 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-a67c7cb2e0

Comment 4 Fedora Update System 2021-01-26 01:27:54 UTC
FEDORA-EPEL-2021-a67c7cb2e0 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-a67c7cb2e0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-02-10 01:46:19 UTC
FEDORA-EPEL-2021-a67c7cb2e0 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.