On 7/5/07, Carl Worth <[EMAIL PROTECTED]> wrote: > You might take a look at what kind of PostScript and PDF output you > get from cairo right now, (since cairo has many different kinds of > font subsetting, (type3, type42 and others), and it's regularly being > tested on as many PostScript and PDF viewers as possible). > > I don't know if there's anything special about the PostScript output > you're currently producing that wouldn't make it acceptable to use > cairo's PostScript output directly. But even if you just want code, > it's inside cairo under the LGPL.
Hey Carl, I looked at cairo when we first started with the postscript backend, but in the bad old days it was just a raster dump. I understand it has come a long way since. mpl's postscript backend supports latex expressions in PS output, which requires a fair amount of complex trickery in the postscript backend, though we we could probably do it with embedded rasters in cairo. The postscript backend is also standalone with no dependencies other than mpl and numpy, and adding cairo to the mix might be a bit difficult for across platforms for some users (though this appears to have gotten a lot better too). LGPL means we cannot reuse the code. While I like the idea of using cairo for both raster and vector outputs in principle because it offloads a lot of work onto a large and well supported project, it would probably take a fair amount of work to get all of mpl's functionality into the cairo backend (I don't know this since I have not tested the backend for some time, but does it support, for example unicode_demo, mathtext_demo, usetex, and image_demo ?). JDH ------------------------------------------------------------------------- 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