[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ghostscript errors? (gs-aladdin 5.50-8)



On Sun, Feb 20, 2000 at 08:51:13PM -0800, kmself@ix.netcom.com wrote:
> I'm finding errors with ghostscript interpreted viewers, including 'gv'

Following up to myself....

There are a few debian-bug posts suggesting a problem with gs and 
/etc/gs.Fontmap.

The following strace exerpt run with *no* input to gs appears to bear
this out.  It's not clear to me why the fonts in question are being read
in the order appearing below, as this is not the order in which they are
listed in the file.

------------------------------------------------------------------------

[karsten@navel:tmp]$ strace gs 2>&1 | less

[...]

open("/usr/lib/ghostscript/5.10/Fontmap", O_RDONLY) = -1 ENOENT (No such file or
 directory)
open("/usr/lib/ghostscript/5.10/kanji/Fontmap", O_RDONLY) = -1 ENOENT (No such f
ile or directory)
open("/usr/lib/ghostscript/fonts/Fontmap", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=29050, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40017000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "% Copyright (C) 1996 Aladdin Ent"..., 4096) = 4096
read(4, "a010015l.pfb)\t;\n/URWGothicL-Demi"..., 4096) = 4096
read(4, "pia-Regular\t\t(putr.pfa)\t;\n/Utopi"..., 4096) = 4096
read(4, "miBold\t(hrgerd.gsf)\t;\n/Hershey-G"..., 4096) = 4096
read(4, "\t;\n(Bell MT Bold)\t(//usr/share/f"..., 4096) = 4096
brk(0x824d000)                          = 0x824d000
read(4, "v.ttf)\t;\n(Franklin Gothic Heavy "..., 4096) = 4096
brk(0x8252000)                          = 0x8252000
read(4, "nii___.ttf)\t;\n(Minion-Regular)\t("..., 4096) = 4096
brk(0x8255000)                          = 0x8255000
read(4, "i.ttf)\t;\n(Trebuchet MS Italic)\t("..., 4096) = 378
read(4, "", 4096)                       = 0
write(1, "Unrecoverable error: syntaxerror", 32Unrecoverable error: syntaxerror)
 = 32
write(1, " in token\n", 10 in token
)             = 10
write(1, "Operand stack:\n    --nostringval"..., 34Operand stack:
    --nostringval--) = 34

------------------------------------------------------------------------


-- 
Karsten M. Self (kmself@ix.netcom.com)
    What part of "Gestalt" don't you understand?

SAS for Linux: http://www.netcom.com/~kmself/SAS/SAS4Linux.html
Mailing list:  "subscribe sas-linux" to mailto:majordomo@cranfield.ac.uk


Reply to: