Releases: edemaine/svgtiler
Releases · edemaine/svgtiler
v3.2.1
- Support
alignment-baseline: hanging
as inalignment-baseline
documentation examples
Full Changelog: v3.2.0...v3.2.1
v3.2.0
- LaTeX
<text>
alignment (with-t
/--tex
) improvements:- Fix
text-align
support: previously, the emitted\llap
/\rlap
was backwards - Use
\makebox(0,0)[...]
instead of\llap
/\rlap
to enable: - Support
alignment-baseline
, specificallytop
/text-top
fort
,middle
/central
for 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
def
s not getting assigned the correctid
when 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.def
s in multiple drawings
Full Changelog: v3.1.3...v3.1.4
v3.1.3
- Fix wrapping to keep
z-index
,boundingBox
,overflow
properties of top-level tag. This is useful with layer stacking via arrays, for example, where we don't need aviewBox
in any but the first layer. - Fix paths for re-used (cached) mapping files from multiple directories. Previously, if you re-used a file from multiple directories (when recursing into directories), relative paths might not work.
- Improve "bad SVG Tiler version number" error message to say how to upgrade (
npm install -g svgtiler@latest
).
Full Changelog: v3.1.2...v3.1.3
v3.1.2
- Fix: Don't automatically set
viewBox
ofsvgtiler.add
ed content. This was causing issues from<rect>
or<image>
withwidth
andheight
setting the wrong bounding box (becausex
andy
was ignored). - Fix global
svgtiler.def
content used insvgtiler.add
content (which previously wasn't getting checked so the def didn't get included).
Full Changelog: v3.1.1...v3.1.2
v3.1.1
- Fix
boundingBox
handling ofnull
values to have zero impact on x or y dimensions of bounding box
Full Changelog: v3.1.0...v3.1.1