default font "fixed" in xorg 7.1

Dan Horák dan at danny.cz
Tue Sep 5 20:08:39 UTC 2006


> > I have compared the fonts-base packages from FC5 and devel and they
> > differ only in content of the font files (*.pcf.gz). So something must
> > be changed in the xorg-x11-server package and I have found a note in the
> > changelog for version 1.1.1-10.fc6 (revision 1.130 from July 26):
> > "- Fix default font path to match the config file we used to generate"
> > http://cvs.fedora.redhat.com/viewcvs/rpms/xorg-x11-server/devel/xorg-x11-server.spec?rev=1.165&view=log
> > 
> > Could someone explain the consequences of this change to me?
> 
> I recently updated the fonts packages to fix a cosmetic issue when uninstalling:
> 
>    http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197208
> 
> The change was to change lines of the form
> 
>    if [ "$1" = "0" ]; then
> 
> to
> 
>    if [ "$1" = "0" -a -d %{_x11fontdir}/misc ]; then
> 
> in the %postun sections, so the script is only run when the font directory in 
> question exists.  The change looks good to me, but maybe I'm missing 
> something.  It definitely sounds related to the problem you're seeing.

But doesn't the situation without the %{_x11fontdir}/misc directory
mean, that there was not any fonts.dir (or any other) file created in
this directory normally during the postinstall script? That the
uninstall process will remove all files (*.pcf.gz and fonts.alias) and
also the misc directory? For example when postinstall script failed?

The non-existent fonts.dir would explain the situation - fonts.alias
maps the short font name (eg. fixed) into the full name
"-misc-fixed-medium-r-normal--20-200-75-75-...", but without the
fonts.dir the X server doesn't know how to map the *.pcf.gz file to the
full font name.

Could someone do a mock install of xorg-x11-fonts-misc and check whether
the fonts.dir file is created?


		Dan





More information about the fedora-devel-list mailing list