Page 1 of 1

[SOLVED] Type1 fonts not copied to ghostscript

PostPosted: May 27th, '13, 11:35
by tarazed
Not sure if this is the right place to bring this up but it does have something to do
with printing.

Ever since Mandrake 7.2 I have had a problem with installing fonts for ghostscript,
starting with TrueType. The options for drakfont always include installing for the
office suite, X and ghostscript. It always goes well; the new fonts show up on the
display and can be used and printed by LibreOffice or whatever but they never show up in
the ghostscript directory. The two files for each font are .afm and .pfb files, created
in the /usr/share/fonts/drakfont/Type1 directory. To actually use them in a postscript
file I have to copy all of them into the ghostscript directory manually;
/usr/share/fonts/default/ghostscript.

If this is a bug in drakfont it seems strange that nobody else has ever commented on it
so I am wondering if there is something else about font installation that I need to know.
Maybe nobody else ever prints postscript files from the command line or an application,
something I do all the time.

Re: Type1 fonts not copied to ghostscript

PostPosted: Jun 2nd, '13, 15:58
by tarazed
From gs -h the search path for type1 fonts is:

Search path:
/usr/share/ghostscript/9.06/Resource/Init :
/usr/share/ghostscript/9.06/lib :
/usr/share/ghostscript/9.06/Resource/Font :
/usr/share/ghostscript/fonts : /usr/share/fonts/default/ghostscript :
/usr/share/fonts/default/type1 : /usr/share/ghostscript/fonts :
/usr/share/ghostscript/9.06/Resource : /usr/share/ghostscript/Resource :
/usr/share/ghostscript/CIDFont : /usr/share/fonts/ttf :
/usr/share/fonts/type1 : /usr/share/fonts/default/Type1

drakfont is not on that list so maybe it is a bug in drakfont; not copying the fonts to a
directory in this search path.

One workaround is to set GS_FONTPATH to /usr/share/fonts/drakfont/Type1. What I do is
collect all the converted files into a local user directory and set GS_FONTPATH to point
there.

So, not solved really but I am marking it so.

Re: [SOLVED] Type1 fonts not copied to ghostscript

PostPosted: Jun 2nd, '13, 17:03
by doktor5000
Well, maybe nobody really uses drakfont anymore these days? Anyways, please file a bug for that.