Closed bbratu closed 6 years ago
Thanks for the detailed report. I had a look at the world map SVG, you are right about the problem: the size in the generated file is invalid (obviously width and height must be greater than 0).
The reason why this happened: there is no size defined in the SVG file, the
I am going to add an error output to the tool when this happen to make it easier to spot the problem.
To fix the issue for this particular SVG you need to define the document size for the SVG file. It is not too complicated, just load it into any SVG-compatible vector editor and define the page size.
Here, I used Inkscape:
Thank you very much. It worked perfectly.
First of all, I want to apologize if I am doing something wrong and this is my mistake. I have tried to convert multiple svgs and the only one I was successful with was the creature.svg from https://drive.google.com/file/d/0B2YCglOQi4aNNmtHc0Y2SzZuM2c/edit Some of the svgs give the error
on conversion but I don't think this is the problem. I think the problem is that the generated java file has these values:
while the code generated for creature.svg has positive values:
If you want to try one of the svgs is the low resolution vector from here: https://www.amcharts.com/svg-maps/?map=world