fixed ruby rendering script

This commit is contained in:
Daniel Gultsch 2018-02-09 20:53:13 +01:00
parent 5335cda50c
commit af81bb1958

View file

@ -91,7 +91,7 @@ images.each do |source_filename, settings|
base_width = svg.root["width"].to_i base_width = svg.root["width"].to_i
base_height = svg.root["height"].to_i base_height = svg.root["height"].to_i
guides = svg.find(".//sodipodi:guide") guides = svg.find(".//sodipodi:guide","sodipodi:http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd")
resolutions.each do |resolution, factor| resolutions.each do |resolution, factor|
output_filename, base_size = settings output_filename, base_size = settings