Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 13:08:44 -0400
From:      Chuck Robey <chuckr@telenix.org>
To:        Philipp Ost <pj@smo.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: poscript display problems
Message-ID:  <4876421C.4090105@telenix.org>
In-Reply-To: <4874E756.7090908@smo.de>
References:  <4873B275.8050504@telenix.org> <4873C0D9.3040306@wallnet.com>	<4873D209.5060506@telenix.org> <4873D657.2080706@wallnet.com> <4873D665.2060202@telenix.org> <4874E756.7090908@smo.de>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Philipp Ost wrote:
> Chuck Robey wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Tim Kellers wrote:
>>
>>> 55 completely blank pages
>>
>>
>> well, thanks very much, Tim.  You and Phil Ost tested, and I found out
>> that our
>> FreeBSD-ports installed gs seems to have some sickness, when being
>> asked to
>> display PS files that don't have embedded fonts ... because that's
>> what this is.
> 
> I see this too. I get the following error when displaying the files with
> Ghostview:
> 
> Error: /typecheck in --setscreen--
> Operand stack:
>    6.01146   0.0   --dict:4/4(ro)(L)--   4   4   Frequency   6.01146
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
>   --nostringval--   false   1   %stopped_push   1905   1   3
> %oparray_pop   1904   1   3   %oparray_pop   1888   1   3   %oparray_pop
>   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop
> .runexec2   --nostringval--   --nostringval--   --nostringval--   2
> %stopped_push   --nostringval--   1883   3   4   %oparray_pop   1821   3
>   4   %oparray_pop   --nostringval--   --nostringval-- --nostringval--  
> --dict:4/4(ro)(L)--   --nostringval--   4 %dict_continue   --nostringval--
> Dictionary stack:
>    --dict:1146/1684(ro)(G)--   --dict:0/20(G)--   --dict:128/200(L)--
>  --dict:286/400(L)--
> Current allocation mode is local
> GPL Ghostscript 8.62: Unrecoverable error, exit code 1
> 
> Program version:
> 
> $ pkg_info | grep ghost
> ghostscript-gpl-8.62_2 GPL Postscript interpreter
> ghostview-1.5_1     An X11 front-end for ghostscript

This time I'm copying Hiroki Sato, who is the fellow who did the last few
ghostscript commits ... why?  Because I just tried to compile
ghostscript-8.62.tar.bz2 directly from the version that was downloaded by the
port into distfiles.  I only used autogen.sh (with the only options being
- --prefix=/usr/local), used gmake, and then executed it from the preinstallation
./bin directory.  Result: it displays fine, no error.  I think that hrs ought to
take a look at his port now, does that sould right?

When I'd used the port, at first I'd had no extra options at all, later on for
testing, I added the trutype font processing (the 3rd option, I think).

So, if you needed it today, that's the fix, DON'T use the port.

> $
> 
>>  I'll be investigating it further.  I  have already verified that at
>> least some
>> of the Linux-derived gs ports display this fine, so it's a ports
>> problem of some
>> kind, because of the testing, and I know my gs and gs fonts are
>> installed the
>> way they should be.
> 
> evince-2.22.2_2 has also problems displaying the files. I don't know if
> evince uses ghostscript as a backend though.
> ps2pdf can't convert them also, it bombs out with the same error message
> as above.
> 
> I'm running 7-STABLE if this matters.
> 
> 
> HTH,
> Philipp

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkh2QhsACgkQz62J6PPcoOnGbgCdHLNAuk9ycLKiUlkA3YxEKfEZ
WoQAnRzbMgTVpuClSRRkq9L2tpqEjjwd
=51Z2
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4876421C.4090105>