daneden/Baseline.js — pull request #20 by coreyward (2014-03-19 20:27:35+00:00)
Title: Use modulo division to calculate adjustment

This is a textbook case for modulo and has the additional benefit of the smallest margin necessary being set (between `0..(baseline - 1)`) while continuing to work for images with a height < baseline.