[OS X TeX] Ghostscript 8 i-Package updated to 8.51(*EXPERIMENTAL* i-Directory)

Bruno Voisin bvoisin at mac.com
Tue Apr 19 17:08:53 EDT 2005


Le 19 avr. 05, ˆ 22:10, Gerben Wierda a Žcrit :

> I have uploaded an update to the Ghostscript 8 i-Package to the  
> *EXPERIMENTAL* i-Directory with the just released Ghostscript 8.51. If  
> there are no problems reported the next few days, I will update all  
> the repositories.

Speaking of which: earlier today, I met for the first time EPS files  
defeating Ghostscript's EPS -> PDF conversion capabilities. The same  
happens with GS 8.51, which I just installed.

These are EPS files apparently created by Photoshop CS on a Mac, since  
the files begin with garble like:

> ÅÐÓƘ# _Ý            z# ÿÿII*     þ              q      
>  Ÿ                            >            
>   Ÿ       / 
> å      æ       î   (       1    ö   2      @     
> (  I† ö6  (  i‡    N#     ?ÿ
>  '  ?ÿ
>  '  Adobe Photoshop CS Macintosh  2004:05:07  
> 14:08: 
> 41 ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ 
> ÿÿÿÿÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ 
> ÌÌÌÌÌ™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™™ 
> ™™™™™™fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 
> fffffff3333333333333333333333333333333333333333333333333333333333333333 
> 33333333                                                                
>        îîÝÝ»»ªªˆˆwwUUDD""                                        îîÝÝ 
> »»ªªˆˆwwUUDD""  ÿÿÿÿÿÿÿÿÿÿÿÿÌÌÌÌÌÌÌÌÌÌÌÌ™™™™™™™™™™™™ffffffffffff33333 
> 3333333            ÿÿÿÿÿÿÿÿÿÿÿÿÌÌÌÌÌÌÌÌÌÌÌÌ™™™™™™™™™™™™ffffffffffff3333 
> 33333333            ÿÿÿÿÿÿÿÿÿÿÿÿÌÌÌÌÌÌÌÌÌÌÌÌ™™™™™™™™™™™™ffffffffffff333 
> 333333333            ÿÿÿÿÿÿÿÿÿÿÿÿÌÌÌÌÌÌÌÌÌÌÌÌ™™™™™™™™™™™™ffffffffffff33 
> 3333333333            ÿÿÿÿÿÿÿÿÿÿÿÿÌÌÌÌÌÌÌÌÌÌÌÌ™™™™™™™™™™™™ffffffffffff3 
> 33333333333            ÿÿÿÿÿÿÿÿÿÿÿÿÌÌÌÌÌÌÌÌÌÌÌÌ™™™™™™™™™™™™ffffffffffff 
> 333333333333                              îîÝÝ»»ªªˆˆwwUUDD""          
>            îîÝÝ»»ªªˆˆwwUUDD""  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿ 
> ÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿ 
> ÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33   
> ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  
>  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33 
>   ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff3 
> 3  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33  ÿÿÌÌ™™ff33                                   
>       îîÝÝ»»ªªˆˆwwUUDD""îîÝÝ»»ªªˆˆwwUUDD""  8BIM%                 
>      8BIMê    ¦<?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"  
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> 	<key>com.apple.print.PageFormat.PMHorizontalRes</key>

When I drag them onto TeXShop to have them converted to PDF (calling  
epstopdf calling ps2pdf calling Ghostscript), I end up with PDF files  
of reasonable size but incorrect bounding box (the graphical content of  
each EPS file ends up, in the PDF, in the lower left corner of a blank  
A4 page).

When I open the EPS files in Preview and save them as PDF (calling  
Panther's distiller pstopdf), I end up with a PDF of correct bounding  
box but huge size.

What works is opening the original EPS files in Illustrator 10, saving  
them from Illustrator as EPS files and then dragging these new EPS  
files onto TeXShop. In this way the PDF files have correct bounding box  
and reasonable size.

Specifically, for an EPS file of 324 KB, the size of the PDF files is:

- Using GS: 156 KB (but incorrect BB)

- Using Preview: 3.8 MB (but correct BB)

- Using Illustrator then GS: 156 KB (and correct BB)

Does this mean epstopdf should not be used as is in this case, but by  
passing on some options to GS? I tried:

> Portable-de-Bruno:~/Desktop/Logos/UJF/EPS/LogoBaseDroit brunovoisin$  
> epstopdf --exact UJFquadriDroit.eps
> ==> Warning: BoundingBox not found!

and similarly:

> Portable-de-Bruno:~/Desktop/Logos/UJF/EPS/LogoBaseDroit brunovoisin$  
> epstopdf --hires UJFquadriDroit.eps
> ==> Warning: BoundingBox not found!

Bruno Voisin
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list