chriseppstein/compass — pull request #1303 by Raibaz (2013-05-30 18:51:11+00:00)
Title: Smart layout now considers spacing, should fix #718

I basically added the spacing to every width and height computation, both for every image row in the smart layout fitter and in the fitter itself.

Since the output of this commit is a .png file with the sprite, I don't know how to build tests for this; however, since the changes are quite small and straightforward, and I have run some testing on different sets of images myself, I think it shouldn't break any of the existing behaviors.

Attached is a pair of sprites generated with smart layout, with 30px spacing and without the spacing rule in the .scss
![Uploading registrazione-s05deac8370.png . . .]()
.