[cairo] SVG output in PTs rather than PX or blank.

Samuel Williams space.ship.traveller at gmail.com
Wed Jul 22 21:46:59 PDT 2015


Hi,

Reading SVG files which specify a width and height, e.g. width="50"
height="50", but when outputting the SVG using SVGSurface this gets
replaced with "50pt" which is incorrect. Is there some way to set the units
in the output size of the SVG surface, e.g.

svg_surface.units = "px"

Kind regards,
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20150723/78e85275/attachment.html>


More information about the cairo mailing list