Inkscape loses the bounding box of a SVG with no content when it
converts it to EPS, and ImageMagick does not have a special case for
converting SVG to PNG with Inkscape in one step (which Inkscape can do);
it prefers to convert SVG to EPS with Inkscape, then EPS to whatever.
* blogspam: use the 2.0 JSON API (the 1.0 XML-RPC API has been EOL'd).
Closes: #774441
+ [ Simon McVittie ]
+ * Work around imagemagick Debian bug #771047 by using a non-blank SVG
+ for the regression test, to avoid FTBFS in current unstable
+
-- Joey Hess <joeyh@debian.org> Mon, 20 Oct 2014 12:04:49 -0400
ikiwiki (3.20141016) unstable; urgency=medium
ok(! system("cp t/img/redsquare.png t/tmp/in/redsquare.png"));
if ($SVGS_WORK) {
- writefile("emptysquare.svg", "t/tmp/in", '<svg width="30" height="30"/>');
+ writefile("emptysquare.svg", "t/tmp/in",
+ '<svg width="30" height="30"><rect x="0" y="0" width="30" height="30" fill="blue"/></svg>');
}
# using different image sizes for different pages, so the pagenumber selection can be tested easily