[SOLVED] Type1 fonts not copied to ghostscript

[SOLVED] Type1 fonts not copied to ghostscript

Postby tarazed » May 27th, '13, 11:35

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.
Last edited by tarazed on Jun 2nd, '13, 15:58, edited 1 time in total.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: Type1 fonts not copied to ghostscript

Postby tarazed » Jun 2nd, '13, 15:58

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.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: [SOLVED] Type1 fonts not copied to ghostscript

Postby doktor5000 » Jun 2nd, '13, 17:03

Well, maybe nobody really uses drakfont anymore these days? Anyways, please file a bug for that.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron