SVG output in PTs rather than PX or blank.

Samuel Williams <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAHkN8V8X+ZUoGp1E+yfW9gttU0L0_OZ8Obw=h2eUHZhAMFoEMA@mail.gmail.com>
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

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.