XPDF works but Ghostscript Doesn't for .eps

Darren Dale <dd55@...163...> writes:

The testgs.eps (for test with ghostscript) does not convert to pdf
using either apple preview or adobe distiller (the adobe log is
included)
It does however convert successfully with epstopdf so there is some
subtle difference.

I'm sorry, I have no idea. I guess you would have to take it up with
ghostscript, that is the program that is producing the file that adobe and
apple preview is having trouble with.

Since this is on Mac OS X, I suspect it is the long-standing font
problem; that is, matplotlib finds and uses some system fonts but does
not embed them correctly. If you force the Bitstream Vera family of
fonts, does it work then?

>> : Error: No paper information available - using defaults

I think this is an xpdf error message. Adding "errQuiet yes" to
~/.xpdfrc might silence it, at the cost of omitting more serious
messages too.

···

--
Jouni K. Sepp�nen
http://www.iki.fi/jks

I doubt this is the case. The ghostscript distiller does not embed any fonts,
it renders the text as rasters.

···

On Tuesday 21 August 2007 12:46:05 pm Jouni K. Seppänen wrote:

Darren Dale <dd55@...163...> writes:
>> The testgs.eps (for test with ghostscript) does not convert to pdf
>> using either apple preview or adobe distiller (the adobe log is
>> included)
>> It does however convert successfully with epstopdf so there is some
>> subtle difference.
>
> I'm sorry, I have no idea. I guess you would have to take it up with
> ghostscript, that is the program that is producing the file that adobe
> and apple preview is having trouble with.

Since this is on Mac OS X, I suspect it is the long-standing font
problem; that is, matplotlib finds and uses some system fonts but does
not embed them correctly. If you force the Bitstream Vera family of
fonts, does it work then?

When I diff the ghostscript generated eps which does not distill and the ps which does.
There is not much difference. I know next to nothing about postscript but the differences
have to do with the prolog and trailer and nothing else.

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 14 188 591 593
%%HiResBoundingBox: 14.933874 188.868363 590.933874 592.068363

%!PS-Adobe-3.0
%%Pages: (atend)
%%BoundingBox: 17 194 594 598
%%HiResBoundingBox: 17.987999 194.507994 593.999982 597.527982

**** eps extra prolog*****
%%BeginProlog
save
countdictstack
mark
newpath
/showpage {} def
/setpagedevice {pop} def
%%EndProlog
%%Page 1 1

*** eps ***
%%PageTrailer
%%Trailer
cleartomark
countdictstack
exch sub { end } repeat
restore
%%Pages: 1
%%EOF

*** ps ***
%%PageTrailer
%%Trailer
%%Pages: 1
%%EOF

···

On 21 Aug 2007, at 11:10 , Darren Dale wrote:

On Tuesday 21 August 2007 12:46:05 pm Jouni K. Seppänen wrote:

Darren Dale <dd55@...163...> writes:

The testgs.eps (for test with ghostscript) does not convert to pdf
using either apple preview or adobe distiller (the adobe log is
included)
It does however convert successfully with epstopdf so there is some
subtle difference.

I'm sorry, I have no idea. I guess you would have to take it up with
ghostscript, that is the program that is producing the file that adobe
and apple preview is having trouble with.

Since this is on Mac OS X, I suspect it is the long-standing font
problem; that is, matplotlib finds and uses some system fonts but does
not embed them correctly. If you force the Bitstream Vera family of
fonts, does it work then?

I doubt this is the case. The ghostscript distiller does not embed any fonts,
it renders the text as rasters.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************