Darren Dale wrote:
> On Thursday 12 July 2007 05:11:31 pm Carl Worth wrote:
>> On Thu, 12 Jul 2007 10:31:19 -1000, Eric Firing wrote:
>>> if only cairo would make eps files
>> Isn't EPS a trivially change compared to PS? Something like a modified
>> header and the addition of bounding-box information?
> 
> The following is listed in the Encapsulated Postscript File Format 
> Specification,  
> http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf:
> 
> "There are some PostScript language operators plus statusdict and userdict 
> operators that are intended for system-level jobs or page descriptions that 
> are not appropriate in an EPS file. In addition to all operators in statusdict 
> and the operators in userdict for establishing an imageable area, the 
> following operators must not be used in an EPS file:
>    banddevice          exitserver       initmatrix         setshared
>    clear                 framedevice      quit               startjob
>    cleardictstack      grestoreall      renderbands
>    copypage            initclip         setglobal
>    erasepage           initgraphics     setpagedevice

Aha!  Cairo ps output is full of "initclip" commands, so it can't be 
converted to eps without substantial reworking.

This is a big limitation.  To put a figure in a LaTeX document, for 
example, eps usually is what you need.  So until Cairo solves this 
problem and provides eps, it is locked out of a large domain of graphics 
use.

Eric

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to