More measurement units (in, cm, em)

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

Bug Description

In order to accommodate https://bugs.launchpad.net/bugs/341453, we need to specify size in something other than pixels. A great option is the units used by LaTeX, such as cm, in, em, picas, points, etc. There are probably existing functions for converting these units into something meaningful for a pixel-based measurement system, but this should all happen behind the scenes. Ideally, the user would be able to say:

someplot("myplot.eps", ..., width=8cm, height=6cm, ...)

but perhaps more realistically:

someplot("myplot.eps", ..., width="8cm", height="6cm", ...)
or
someplot("myplot.eps", ..., width=8, height=6, units="cm" ...)

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.