[Bug 1021755] New: Use fc-cache /usr/share/fonts/<your font directory> instead of /usr/share/fonts
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 22 02:23:03 UTC 2013
https://bugzilla.redhat.com/show_bug.cgi?id=1021755
Bug ID: 1021755
Summary: Use fc-cache /usr/share/fonts/<your font directory>
instead of /usr/share/fonts
Product: Fedora
Version: 19
Component: urw-fonts
Assignee: than at redhat.com
Reporter: tagoh at redhat.com
QA Contact: extras-qa at fedoraproject.org
CC: fonts-bugs at lists.fedoraproject.org, than at redhat.com
Description of problem:
Running fc-cache with /usr/share/fonts takes too much time and may breaks the
cache for parents when installing multiple font packages or upgrading
fontconfig, especially sometimes happens on the installation say.
As the macro in fontpackages does, please follow it up and use fc-cache
/usr/share/fonts/<your font directory> instead of /usr/share/fonts.
Version-Release number of selected component (if applicable):
urw-fonts-2.4-15.fc19.noarch
How reproducible:
always
Steps to Reproduce:
1.rpm -q --scripts urw-fonts-2.4-15.fc19.noarch
2.
3.
Actual results:
postinstall scriptlet (using /bin/sh):
{
umask 133
mkfontscale /usr/share/fonts/default/Type1 || :
mkfontdir /usr/share/fonts/default/Type1 || :
fc-cache /usr/share/fonts
} &> /dev/null || :
postuninstall scriptlet (using /bin/sh):
{
if [ "$1" = "0" ]; then
fc-cache /usr/share/fonts
fi
} &> /dev/null || :
Expected results:
the directory should be /usr/share/fonts/<your font directory> instead
Additional info:
--
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=QM718HIIpw&a=cc_unsubscribe
More information about the fonts-bugs
mailing list