this is driving us crazy - we're trying to render a PS file to PDS and it can find fonts (see below) if we setup /usr/local/share/ghostscript/8.51/Resource/Font and copy fonts over there it produces an unreadable PDF output file
this must be something REALLY stupid!!@

10x
danny

here are the error msgs
the directory /usr/local/share/ghostscript/8.51/Resource/Font does not exist.
the font files exist in /usr/share/fonts/default/Type1
setting GS_FONTPATH to that directory does not help.

This is what I run and get:

[EMAIL PROTECTED] /]# gs -SDEVICEpdfwrite -sOutputFile=/web/SugarCRM/pdf/out/test.pdf /root/Premium.ps
AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file n022003l.pfb.
Can't find (or can't open) font file /usr/local/share/ghostscript/8.51/Resource/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Can't find (or can't open) font file /usr/local/share/ghostscript/8.51/Resource/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Querying operating system for font files...
Didn't find this font on the system!
Unable to substitute for font.
Error: /invalidfont in findfont
Operand stack:
courier Courier Font Courier 178923 Courier --nostringval-- Courier 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-- 2 4 %oparray_pop 3 4 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 6 5 %oparray_pop --nostringval-- --nostringval-- --nostringval-- 1 -1 1 --nostringval-- %for_neg_int_continue
Dictionary stack:
--dict:1119/1686(ro)(G)-- --dict:0/20(G)-- --dict:72/200(L)-- --dict:22/64(L)-- --dict:17/17(ro)(G)-- --dict:1119/1686(ro)(G)--
Current allocation mode is local
Last OS error: 2
Current file position is 2286
AFPL Ghostscript 8.51: Unrecoverable error, exit code 1





--
Danny Lieberman
Visit us at http://www.software.co.il
Office + 972  8 970-1485
Cell   + 972 54 447-1114



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to