From: Alex M. <ha...@ha...> - 2016-11-09 22:40:40
|
On 11/8/2016 12:27 PM, Martin Brumm wrote: > Instructions for Inkscape > > If tiles are modified with Inkscape, before saving, set the following > properties before saving the new image: > > * Under File | DocumentProperties: > o First press 'Fit page to selection'. For edited images, this > should change the size to Width=393.00 and Height=341.00. > o For unknown reasons, TileDesigner adds extra whitespace below > the tile image. To emulate this, change the Height to 357.50. > * Then save the tile. > > For newly created tiles, make sure that the size ends up identically, > i.e. Width=393.00 and Height=357.00 > Thanks for this. My experience was that when editing an existing tile with Inkscape, even a simple Open-and-save would cause major scaling problems with the standard tiles. Through trial and error I was able to work out that changing the page size seems to have an effect on the mis-scaling result. By tweaking the page size to 400x400 (Leaving the tile image itself at 393x357) I *think* I got the scaling just perfect that way. Not sure if that's intentional and should be documented or what, but it definitely seems odd to me. I would expect the program to either expect the SVG page size to be at some standard size and want the image data to match that size -- or ignore the page size and scale the image data to the size needed. |