Running spritezero on certain SVGs with a content box that is close to the edge of the bounding box sometimes produces a content box that extends beyond the bounds of the sprite.
For example, when I create a spritesheet from the SVG below using the JS snippet in the README, I get the following output.
While the height is 21px, the bottom right corner of the content box is set at 21.5px. This box is invalid, and causes my tileserver to choke when trying to load the spritesheet.
Running
spritezero
on certain SVGs with a content box that is close to the edge of the bounding box sometimes produces a content box that extends beyond the bounds of the sprite.For example, when I create a spritesheet from the SVG below using the JS snippet in the README, I get the following output.
SVG content
```xml ```While the height is 21px, the bottom right corner of the content box is set at 21.5px. This box is invalid, and causes my tileserver to choke when trying to load the spritesheet.