[5134] in testers

home help back first fref pref prev next nref lref last post

Re: fontmap2 missing

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Apr 24 16:35:48 2002

Date: Wed, 24 Apr 2002 16:35:44 -0400
Message-Id: <200204242035.QAA03245@equal-rites.mit.edu>
From: Greg Hudson <ghudson@MIT.EDU>
To: Alex T Prengel <alexp@mit.edu>
CC: testers@mit.edu
In-reply-to: "[5129] in testers"

With a little poking around, I discovered that the fontmap2 file is
created by the gnome-print RPM on a stock Red Hat 7.2 system, using
the %post script fragment:

  gnome-font-install                                               \
         --assignment=ghostscript,/usr/share/fonts/default/Type1   \
         --afm-path=/usr/share/fonts/afms                         \
         --fontmap-path=/usr/share/gnome-print/fonts/             \
         --target=/etc/gnome/fonts/fontmap2

Unfortunately, there appear to have been some changes in hwo
gnome-print works between 0.29 (the version in Red Hat 7.2) and 0.35
(the version in Athena), such that I'm not quite sure what we should
be doing.  From looking at gnome-print's own spec file (which we don't
use), it looks like things might start working if you run the
following as root on your Linux machine:

  attach -n source
  cp /mit/source/third/gnome-print/fonts/*.font /usr/athena/share/fonts/
  perl /mit/source/third/gnome-print/run-gnome-font-install /usr/athena/share/fonts

On a Sun, you of course won't be able to write to
/usr/athena/share/fonts, so this won't work.  But if it works on
Linux, we can probably arrange to have it happen for the release.

home help back first fref pref prev next nref lref last post