tech-pkg archive

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

Ghostscript seems to be broken on OS X



Hi,

Since the rearrangement of Ghostscript packages (as of 2013Q1) I've been unable to get a working gs on OS X, 10.8.4.

The current version I am using is the latest from pkgsrc-2013Q2. To reproduce the problem, use this troff data to produce a simple PostScript file...

------ 8< ------
.TL
A SIMPLE PostScript TestFile

.LP
This is a test file

.LP
Ghostscript does not like this file.

------ >8 ------

Call it "test.ms". I compile with:

$ groff -ms test.ms > test.ps

Now open with gs...

$ gs test.ps
GPL Ghostscript 9.07 (2013-02-14)
Copyright (C) 2012 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusRomNo9L-Regu font from %rom%Resource/Font/NimbusRomNo9L-Regu... Error: /undefined in /findfont
Operand stack:
   Times-Roman@0   --nostringval--   Times-Roman
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop 1883 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1852 3 4 %oparray_pop
Dictionary stack:
--dict:1163/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)-- --dict:59/120(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 5638
GPL Ghostscript 9.07: Unrecoverable error, exit code 1


... The ps file opens in other ps editors. I have no idea how to begin troubleshooting this. The offending area of the ps file (second message from the bottom says "Current file position is 5638" contains this:

/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Roman@0 ENC0/Times-Roman RE/Times-Bold@0 ENC0/Times-Bold RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup


It's the line with the "Times-Roman". Character 5638 is the `E' of "RE".

Am I somehow missing a Times-Bold font?

I posted about this a couple months ago on pkgsrc-users but didn't get anywhere. Can anyone reproduce the problem?

Any help would be great.

Louis


Home | Main Index | Thread Index | Old Index