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



--- Comment #40 from Jerry James <[email protected]> ---
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
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to