Ghostscript ps2pdf

Stephen Bosch posting at vodacomm.ca
Wed Jul 9 12:28:03 PDT 2003


alex at 22-music.de wrote:
>>>>Hello:
>>>>
>>>>Attempts to convert a Postscript file to PDF using ps2pdf are failing 
>>>>with an /invalidfont error:
>>>>
>>>>Error: /invalidfont in findfont
>>>>Operand stack:
>>>> Courier-iso1252   --nostringval--   Courier   Courier   Font 
>>>>Courier   285079   Courier   --nostringval--   Courier   NimbusMonL-Regu 
>>>>(NimbusMonL-Regu)   NimbusMonL-Regu   (NimbusMonL-Regu)   NimbusMonL-Regu
>>>>Execution stack:
>>>> %interp_exit   .runexec2   --nostringval--   --nostringval-- 
>>>>--nostringval--   2   %stopped_push   --nostringval--   --nostringval-- 
>>>>--nostringval--   false   1   %stopped_push   1   3   %oparray_pop 
>>>>1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop 
>>>>.runexec2   --nostringval--   --nostringval--   --nostringval--   2 
>>>>%stopped_push   --nostringval--   --nostringval--   4   3   %oparray_pop 
>>>>5   3   %oparray_pop   --nostringval--   --nostringval-- 
>>>>--nostringval--   --nostringval--   --nostringval--   false   1 
>>>>%stopped_push   8   4   %oparray_pop   --nostringval--   --nostringval-- 
>>>>--nostringval--   5   -1   1   --nostringval-- 
>>>>%for_neg_int_continue   --nostringval--   --nostringval--
>>>>Dictionary stack:
>>>> --dict:1046/1123(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)-- 
>>>>--dict:17/17(ro)(G)--   --dict:1046/1123(ro)(G)--
>>>>Current allocation mode is local
>>>>Last OS error: 2
>>>>Current file position is 4725
>>>>
>>>>Does anybody have an idea how I can resolve this problem?
>>>
>>>I guess you do have the gnu-gs-fonts-std-6.0(.tar.gz) installed to
>>>/usr/share/ghostscript (by simply unpacking them)?
>>
>>No, I didn't, but there are already oodles of fonts installed. It's not 
>>clear where the gnu-gs-font package should go.
> 
> 
> If you'd read my mail thoroughly (and perhaps thought a little bit), it
> should be clear that to install the fonts you just needed to unpack them
> to /usr/share/ghostscript (not /usr/share/ghostscript/8.00, because
> other gs-enabled applications should be able to use them, too).

Gee, that wasn't very polite...

Yes, I read your e-mail thoroughly, and no, it's not clear. There's 
nothing in the ghostscript documentation that suggests this, this isn't 
specified in any path, and there was no existing fonts directory.

As it happens there was no need to install the font package. The fonts 
were already in the system, it's just that Ghostscript doesn't know 
where to find them. Specifying the path using GS_LIB was what fixed it.

>>God, fonts in Linux are a pain :(
> 
> That's life. Don't cry and get along with it ;-)

It's life until someone makes an effort to change it, which is what I'm 
trying to do. Font support in Linux has to improve immensely if it's to 
be widely adopted.

-Stephen-

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list