output to eps format

Bug #341453 reported by Michael Wayne Goodman
2
Affects Status Importance Assigned to Milestone
Cairo Plot
New
Undecided
Unassigned

Bug Description

EPS (Encapsulated PostScript) format is a wrapper around PS-- it has size information (a bounding box, more specifically). This allows LaTeX to import the image and not worry about rescaling it, as the size is accurate (unlike, say, pixels, since it does not know the DPI). There are tools to convert ps to eps, but there might be a way to output directly to eps. Also, one would need to know size information (either pixels + DPI, or inches, cm, etc).

Revision history for this message
Michael Wayne Goodman (goodmami) wrote :

It seems (http://cairographics.org/documentation/cairomm/reference/classCairo_1_1PsSurface.html#a2424e42623eb0c410573b465f7b0f00) that Cairo lets you output to .eps files fairly easily. Also note that for Cairo's PsSurface method, the height and width parameters are in points, not pixels, which is probably why my CairoPlot charts look big in .ps files (eg 400 points (which I thought were pixels) is about 14.1cm). This makes me wonder if we should drop the .ps support and more fully support .eps files. I'd love to supply a patch, but I haven't considered all the consequences regarding plotting geometry.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.