output to eps format
Bug #341453 reported by
Michael Wayne Goodman
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).
To post a comment you must log in.
It seems (http:// cairographics. org/documentati on/cairomm/ reference/ classCairo_ 1_1PsSurface. html#a2424e4262 3eb0c410573b465 f7b0f00) 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.