Re: GS, fonts, type1inst, dtm & Co.
On Thu, 19 Mar 1998, Federico Di Gregorio wrote:
> Uh! Can you tell me ore about that. I thought you need one Fontmap
> for every dir containing fonts. If you can use just *one* fontmap in
> etc just put it there, even without links to /usr/lib/gs/...
> BTW, that will help *a lot* dtm too.
One global Fontmap file is sufficient. An entry of the Fontmap file
has either the form
/Alias /FontName ;
or the form
/FontName (file) ;
In this second case, if GS needs font "FontName", it searches "file":
"file" can be an absolute path (if it starts with "/"), a path relative
to PWD (if it starts with ".") or a path relative to the search path of
GS (otherwise). So, if the Fontmap file looks like
/NimbusSansL-Regu (n019003l.pfb) ;
/Acrobat-Times-Roman (/usr/lib/acrobat/Fonts/Times-Roman) ;
/University-Logo (local/logo.pfb) ;
and the search path is
GS looks at files
for font NimbusSansL-Regu, at file
for font Acrobat-Times-Roman
for font University-Logo.
For GS to access to the Fontmap file, however, this has to be in
GS's serach path (or gs has to be patched, which is really not a problem).
The best solution, for the moment seems to me an unique fontmap file
in /etc/gs.Fontmap and a link to it from one of the gs directories
(for instance, /usr/lib/ghostscript/fonts/Fontmap).
Otherwise, we can decide to leave the fontmap file in /usr/lib/... for the
moment, and to decide where to put it when dtm is ready. In this case,
however, a sysadmin has to modify a non-conffile if she wants
to install local fonts (for instance by using font1inst).
 You can put more Fontmap files in the different directories of the
search path of GS; in this case, essenctially, GS concatenates all those
files. In my opinion, however, a single file is preferable (in particular
if it is controlled by a font manager).
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com