[Fwd: Font issues (mkfontdir & friends not getting run) with F-8]

Nicolas Mailhot nicolas.mailhot at laposte.net
Fri Nov 16 21:59:59 UTC 2007


Forwarding to the right list (not that the two example package follow
the provisional guidelines on the fontconfig front, and I don't care
much about the core font side myself)


-------- Message transféré --------
De: Hans de Goede <j.w.r.degoede at hhs.nl>

Hi

On both my F-8 x86_64 live-dvd installation and my (clean) F-8 i386 install dvd 
installation, not all scriptlets for font-packages have properly run.

Taking /etc/X11/fontpath.d/fonts-default (urw-fonts) as example:
-On the x86_64 live dvd install, only fonts.scale is present, iow
  mkfontdir and fc-cache have not been run, even though they are in the
  scripts:
[hans at localhost ~]$ rpm -q --scripts urw-fonts
urw-fonts-2.4-1.fc8.noarch
postinstall scriptlet (using /bin/sh):
{
    umask 133
    mkfontscale /usr/share/fonts/default/Type1 || :
    `which mkfontdir` /usr/share/fonts/default/Type1 || :
    fc-cache /usr/share/fonts
} &> /dev/null || :

-On the i386 dvd install, nothing was run, so not only mkfontdir and
  fc-cache were not run, but also mkfontscale has not been run

The strange thing is fontconfig is actually required, so atleast the fc-cache 
file should have been created.

As for the other two not being created, well that is to be expected if the 
necessary packages are not added to any Requires.

Why are these files generated on install anyways, I understand this used to be 
usefull back in the days when multiple packages would install files under one 
dir, but isn't it so that most font dirs now only contain fonts from one package?

Note that this is not isolated to urw-fonts, ghostscript-fonts for example has 
the same problem.

Regards,

Hans

-- 
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20071116/6711003f/attachment-0002.bin 


More information about the devel mailing list