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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>

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@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

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

_______________________________________________
Fedora-fonts-list mailing list
Fedora-fonts-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-fonts-list

[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux