From: brett l. <wak...@gm...> - 2006-07-29 01:37:22
|
It just occurred to me that I haven't really written out how I make the SVG tiles. Here's the basic process: 1. Export postscript files from TileDesigner 2. Use pstoedit to convert the ps to svg. ( http://www.pstoedit.net/pstoedit/ ) $ for x in `ls *.ps`; do pstoedit -f plot-svg $x $x.svg; done 3. Rename all of the svg files so they don't have the double extension $ rename .ps.svg .svg *.svg 4. Open the new svg in Inkscape, and make several adjustments to the canvas size and positioning of the hex. ( http://www.inkscape.org/ ) Edits made in Inkscape: 1. Delete invisible white background layer, so that it's now a transparent background. 2. Set hex location to (0,0) 3. Set hex size to 720x720 pixels (the size of the canvas) 4. In Document Properties, Set canvas size to 100x100 pixels It's not a terribly pretty or efficient process, but it works. If there's a Ghostscript wizard around that knows a better way of doing the conversions, I'd love to hear it. ---Brett. |