Releases: edemaine/svgtiler
Releases · edemaine/svgtiler
v3.4.1
- New
--use-defsoption wraps<symbol>s etc. in<defs>, which shouldn't be necessary but works around an Inkscape bug with<symbol>s nested inside<symbol>s, which arise e.g. when combining SVG Tiler outputs together with SVG Tiler.
Full Changelog: v3.4.0...v3.4.1
v3.4.0
- External SVG files (loaded via either a mapping to
filename.svgor by callingrequire("filename.svg")) get theirids/hrefs automatically prefixed by a globally unique prefix based on the filename, to avoid id collisions especially between multiple included files.- In particular, this makes it easy to use SVG Tiler to combine together other SVG Tiler outputs, such as when drawing gadgets and then gadget assemblies.
- Thanks to @slef for finding this issue and helping write the fix.
- SVG Tiler now warns if the output SVG has duplicate
ids, which is invalid XML/SVG. This will help with future debugging, such as when manually buildingids in mappings.
Full Changelog: v3.3.0...v3.4.0
v3.3.0
- New file type:
.psvis Pipe-Separated Values which uses separator|. This separator is both uncommon and looks nice to humans (unlike tabs in .tsv). It also looks like Markdown tables (but keys aren't automatically trimmed of whitespace). - New example: Mario crossover gadget
- Easier debugging of SVG parse errors on the web: detect and display
<parseerror>s generated by web platform's XML parser - Fix
--marginwithout--uneven(previously added an extra blank row at the end) (#110) - Fix path handling on Windows (previously, absolute paths with drive names sometimes got directories such as
./prepended, which in particular maderequirebuggy) - Fix handling of absent
boundingBox/overflowBox(probably just occurred on web) - Fix documentation (links, Mario palettes)
Full Changelog: v3.2.1...v3.3.0
v3.2.1
- Support
alignment-baseline: hangingas inalignment-baselinedocumentation examples
Full Changelog: v3.2.0...v3.2.1
v3.2.0
- LaTeX
<text>alignment (with-t/--tex) improvements:- Fix
text-alignsupport: previously, the emitted\llap/\rlapwas backwards - Use
\makebox(0,0)[...]instead of\llap/\rlapto enable: - Support
alignment-baseline, specificallytop/text-topfort,middle/centralfor vertical centering behavior of\makebox, and anything else forb(effectively the default, as before).
- Fix
Full Changelog: v3.1.8...v3.2.0
v3.1.8
v3.1.7
- Fix bug with global
defs not getting assigned the correctidwhen re-used
Full Changelog: v3.1.6...v3.1.7
v3.1.6
- The Witness definitions are now much more extensive, thanks to the corresponding paper, with several more examples
- API documentation fleshed out more, in particular relating to DOM methods
- Fix handling of spaces in JSX (#107)
- Upgrade babel, glob, preact, stylus, xmldom dependencies
Full Changelog: v3.1.5...v3.1.6
v3.1.5
- Update dependencies, in particular removing some (unlikely) security issues
- Examples improvements
- Mario tileset now includes items and allows for firebars made of multiple fires. Example of Mario clause gadget.
- Fix tests of
unevenLengths
Full Changelog: v3.1.4...v3.1.5
v3.1.4
- Fix re-use of global
svgtiler.defs in multiple drawings
Full Changelog: v3.1.3...v3.1.4