[Bug 401641] New: Add dependency on mkfontdir and mkfontscale: xorg-x11-font-utils

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 27 18:54:20 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




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

           Summary: Add dependency on mkfontdir and mkfontscale: xorg-x11-
                    font-utils
           Product: Fedora
           Version: f8
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: low
          Priority: low
         Component: urw-fonts
        AssignedTo: than at redhat.com
        ReportedBy: terjeros at phys.ntnu.no
         QAContact: extras-qa at fedoraproject.org
                CC: fedora-fonts-bugs-list at redhat.com


Description of problem:

Original problem is that xfig is not finding fonts it needs. 

This is caused by missing fonts.scale and fonts.dir in 

 {_datadir}/fonts/default/Type1

Which should be created in %post (in urw-fonts package):

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

However mkfontscale and mkfontdir (why the funny `which mkfontdir` thing, btw?) 
is in the xorg-x11-font-utils package which urw-fonts have no requires line to.

Solution: add xorg-x11-font-utils to requires like this:

Requires(post): fontconfig xorg-x11-font-utils

I guess this problem in present in Fedora 7 too.

Thanks!

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-fonts-bugs-list mailing list