FS#69286 - [graphicsmagick] gm convert -draw fails with fonts dir error

Attached to Project: Arch Linux
Opened by Aleksei (nesk_bugs) - Monday, 11 January 2021, 06:09 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 21 April 2021, 11:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Steps to reproduce:
1. Install graphicsmagic
2. Run the following command on any INPUT.png image file:
$ gm convert INPUT.png -draw 'text 100,100 "String01"' OUTPUT.png
3. Get error:
gm convert: Unable to read font (/usr/share/fonts/Type1/n019003l.pfb) [No such file or directory].

Additional info:
* package version(s)
graphicsmagick 1.3.36-1
* config and/or log files etc.
No configuration modified.
* link to upstream bug report, if any
https://sourceforge.net/p/graphicsmagick/bugs/639/

Upstream developer pointed out --with-gs-font-dir build option - on Arch PKGBUILD this is set to /usr/share/fonts/Type1 which does not exist on my system. If this directory belongs to some "generic" gs font then this font should be a dependency of graphicsmagic.
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 21 April 2021, 11:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  graphicsmagick 1.3.36-2

Loading...