[Bug 478786] urw fonts not working

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 25 23:45:13 UTC 2013


Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=478786

Chris Schanzle <bugzilla at cas.homelinux.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at cas.homelinux.org

--- Comment #8 from Chris Schanzle <bugzilla at cas.homelinux.org> ---
google search led me here too.  I'm on RHEL/CentOS 6 and things are remarkably
similar to Fedora 17.  First, the 'quick fix' - it is only necessary to run (as
root):

mkfontscale /usr/share/fonts/default/Type1
mkfontdir   /usr/share/fonts/default/Type1

[and 'xset fp rehash' as the current user if you want the currently-running
font server to pick up changes.]

I think urw-fonts is missing one or more Requires, because the postinstall
scriptlet seems to be doing the right thing, but it's not being done
(fonts.dir, fonts.scale are not created).  Reinstalling the urw-fonts package
also 'fixes' the problem:

# rm /usr/share/fonts/default/Type1/fonts.{scale,dir}
# date
Mon Feb 25 18:24:42 EST 2013
# yum -d 0 -y reinstall urw-fonts
# # 
# ls -l /usr/share/fonts/default/Type1/fonts.{scale,dir}
-rw-r--r-- 1 root root 31050 Feb 25 18:24
/usr/share/fonts/default/Type1/fonts.dir
-rw-r--r-- 1 root root 31050 Feb 25 18:24
/usr/share/fonts/default/Type1/fonts.scale


Below shows both utilities come from xorg-x11-font-utils:
  rpm -qf `which mkfontdir` `which mkfontscale`

I'm not an expert, but perhaps add to the spec:
  Requires: xorg-x11-font-utils

My installation logs also show urw-fonts being installed before
xorg-x11-font-utils.  That shouldn't happen!  :-)

Thanks!

-- 
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=pNMoK5p7rx&a=cc_unsubscribe


More information about the fonts-bugs mailing list