Description of problem: mkfontscale /usr/share/fonts/default/ghostscript Segmentation fault Version-Release number of selected component (if applicable): How reproducible: Always Reproducible: Steps to Reproduce:
Created attachment 7072 [details] strace mkfontscale /usr/share/fonts/default/ghostscript Here is the strace. While it is possible that one should not run mkfontscale on the ghostscript fonts, mkfont should NOT SegFault.
Found the patch which works to prevent the segfault on ghostscript fonts. Have tested it and it works. (the fonts have no family names or weights) https://bugs.freedesktop.org/attachment.cgi?id=113951 The following patch 113952 I have not tested. This apparently substitutes the Font name for the Family name if the latter does not exist.
The bug report for which those are the patches is https://bugs.freedesktop.org/show_bug.cgi?id=89409
Thanks for the report. Unfortunately there is no dedicated maintainer for this package, though I'm adding two packages in CC who updated it at some point. Maybe you should consider joining the packager team so that you could fix some bugs yourself? https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
Keywords: (none) => PATCH, UPSTREAMCC: (none) => luigiwalser, thierry.vignaud
Actually there's two patches in the fdo bug; I'll add them soon. Also, the fonts it's breaking on are buggy and RedHat removed them: https://bugzilla.redhat.com/show_bug.cgi?id=707007 I've done the same in Cauldron.
Thanks for the report! Patched packages uploaded for Mageia 5 and Cauldron. Testing procedure in Comment 0 (ghostscript-fonts must be installed). Advisory: ---------------------------------------- The mkfontscale program has been patched to not crash on certain buggy fonts, such as the Hershey fonts included in the ghostscript-fonts package (fdo#89409). References: https://bugs.freedesktop.org/show_bug.cgi?id=89409 ---------------------------------------- Updated packages in core/updates_testing: ---------------------------------------- mkfontscale-1.1.2-1.1.mga5 from mkfontscale-1.1.2-1.1.mga5.src.rpm
Hardware: x86_64 => AllAssignee: bugsquad => qa-bugs
Whiteboard: (none) => has_procedure
I can confirm that the Hershey fonts do not work in Abiword. (Besides being ugly and unreadable, their carriage return does not do a linefeed.) And removing the hr* fonts from /usr/share/fonts/default/ghostscript removes the Hershey fonts from Abiword.
Verified the fixed mkfontscale works on Mageia 5 i586.
Whiteboard: has_procedure => has_procedure MGA5-32-OK
mga5 x86_64 mkfontscale-1.1.2-1.mga5.x86_64 : # mkfontscale /usr/share/fonts/default/ghostscript : segfault Installed packages : mkfontscale-1.1.2-1.1.mga5.x86_64.rpm # mkfontscale /usr/share/fonts/default/ghostscript Couldn't determine full name for hrpldi.pfa Couldn't determine weight for hrpldi.pfa etc. no segfault Update OK.
CC: (none) => yann.cantinWhiteboard: has_procedure MGA5-32-OK => has_procedure MGA5-32-OK MGA5-64-OK
Thanks, feel free to validated the update when it has both MGA5_*_OK Yann (by adding the "validated_update" keyword).
Keywords: (none) => validated_updateWhiteboard: has_procedure MGA5-32-OK MGA5-64-OK => has_procedure MGA5-32-OK MGA5-64-OK advisoryCC: (none) => davidwhodgins, sysadmin-bugs
An update for this issue has been pushed to Mageia Updates repository. http://advisories.mageia.org/MGAA-2015-0148.html
Status: NEW => RESOLVEDResolution: (none) => FIXED