Re: Fonts scriptlet for CORE packages

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

 



Parag N(पराग़) wrote:
Hi,
  While doing reviews of fonts packages in core, i got confused on
post and postun sections (to check) of those packages as they are
using chkfontpath and mkfontdir and ttmkfdir
There are two font system on X Window System. They are "X11 core font
system" and "Xft". While many newer applications such as GNOME/KDE
applications use Xft, not a few applications still require X11 core
font system.

%post
if [ -x /usr/bin/fc-cache ]; then
 /usr/bin/fc-cache /usr/share/fonts
fi
This is Xft

umask 133
   touch %{ttfontdir} 2> /dev/null && {
       /usr/bin/ttmkfdir -d %{ttfontdir} -o %{ttfontdir}/fonts.scale
       mkfontdir %{ttfontdir}
       /usr/sbin/chkfontpath -q -a %{ttfontdir}
   }
   mkfontdir %{bmpfontdir} && /usr/sbin/chkfontpath -q -a %{bmpfontdir}
This is X11 core font system. So if the packager expects that
the fonts are used on X11 core font system, the procedure of
"mkfontdir" and so on are necessary.

Mamoru

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

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

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux