[Bug 921706] ghostscript: /invalidfont in /findfont, --nostringval-- Helvetica

bugzilla at redhat.com bugzilla at redhat.com
Wed May 14 15:21:32 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=921706



--- Comment #40 from Jerry James <loganjerry at gmail.com> ---
I thought it odd that "fc-cache /usr/share/fonts/default/Type1" didn't fix the
problem, so I did some experimenting.  It turns out that running "fc-cache
/usr/share/fonts/default" (without the "/Type1") DOES fix the cache.  So I
built my own local urw-fonts package to use in mock building, and changed the
scripts to read:

%post
{
   umask 133
   mkfontscale %{fontdir} || :
   mkfontdir %{fontdir} || :
   fc-cache %{_datadir}/fonts/default
} &> /dev/null || :

%postun
{
   if [ "$1" = "0" ]; then
      fc-cache %{_datadir}/fonts/default
   fi
} &> /dev/null || :

And now zenon builds successfully.  Is this a bug in the urw-fonts scripts, or
a bug in fc-cache?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=zbwFIkdQJt&a=cc_unsubscribe


More information about the fonts-bugs mailing list