[Tilesathome] Black tile on inkscape < 0.46 and renderstripes at default
Ed Loach
ed at loach.me.uk
Thu Oct 23 10:28:30 BST 2008
I wrote:
> I've done an svn up this morning and when I started I got a
> message
> saying I need to use inkscape 0.46 to use renderstripes=0. I've
> checked and I am, so whatever is detecting inkscape version
> doesn't
> work (at least not on Windows).
Further to this, I think this is the code in Tahconf.pm that gives
me that message:
if ( $self->get("Rasterizer") eq "Inkscape" )
{
$cmd = $self->get("inkscape");
my $InkscapeV=`\"$cmd\" -V 2>&1`;
$InkscapeV =~ /Inkscape.(\d+(\.\d+)+)/;
my $minVersion = "0.46";
if ($self->CompareVersions($1, $minVersion) == -1 and not
$self->get("RenderStripes")) {
print "! Inkscape version ${1} too low, needs to be at
least ${minVersion} for RenderStripes=0 setting\n";
}
else
{
print "- Inkscape version $1\n";
}
}
As far as I can tell this checks that Rasterizer=Inkscape (which it
does) and then gets an inkscape= setting which I don't seem to have
in config.defaults, general.conf or tilesathome.conf (and my only
edits have been to that last one). Can someone say what (and where)
it should be?
Incidentally I've tried "Inkscape -V > test" at a command prompt in
Windows to see what it gives, and test contains
"Inkscape 0.46 (Apr 1 2008)" which doesn't seem to match the RegEx
as far as I can tell, so presumably that is why it isn't extracting
a version number for ${1} and I got the message "! Inkscape version
too low," etc (with the double space).
However, this doesn't seem to cause an error and the rendering seems
to be carrying on OK
Ed
More information about the Tilesathome
mailing list