Togan Muftuoglu
* Mike FABIAN;
on 24 Jan, 2003 wrote: I could of course easily make a script to generate entries in a Fontmap.ttf like
/LuxiSerif (/usr/X11R6/lib/X11/fonts/truetype/luxirr.ttf) ;
for all installed TrueType fonts. I just wasn't sure whether anybody would find that useful.
For Luxi maybe you're right
Anyway, as generating such a Fontmap.X11 is so easy, I just added
this feature to the fonts-config script. You can download
the new script from the same location where the previous version
was:
http://www.suse.de/~mfabian/misc/SuSEconfig.fonts/fonts-config
(the web server only syncs once per hour, please wait an hour before
trying to download).
I named the Fontmap "Fontmap.X11-auto" instead of "Fontmap.ttf" because
I thought that somebody might manually create a file with the
name "Fontmap.ttf" and then be angry that my script overwrites it.
I hope "Fontmap.X11-auto" is sufficiently crazy that nobody will get
the idea to create such a file manually.
You still need to add the include command for "Fontmap.X11" manually
to the main Ghostscript Fontmap like this:
mfabian@magellan:~$ cat /usr/share/ghostscript/7.05/lib/Fontmap
%!
% See Fontmap.GS for the syntax of real Fontmap files.
(Fontmap.X11-auto) .runlibfile
(Fontmap.GS) .runlibfile
(Fontmap.kanji) .runlibfile
(Fontmap.rus) .runlibfile
(Fontmap.CID) .runlibfile
(Fontmap.greek) .runlibfile
mfabian@magellan:~$
The "Fontmap" file is owned by the Ghostscript package
mfabian@magellan:~$ rpm -qf /usr/share/ghostscript/7.05/lib/Fontmap
ghostscript-library-7.05.3-99
mfabian@magellan:~$
and I thought it might be better to add this extra line directly to
the Ghostscript package instead of inserting it later with the
fonts-config script.
--
Mike Fabian