adobe-webplatform/balance-text — pull request #47 by sreyemnayr (2014-12-12 22:34:20+00:00)
Title: More accurate space ratio

Detect the actual height:width ratio for spaces instead of guessing :) Basically, it just creates a DOM element with only a nonbreaking space (at 2000px font-size to get the most accurate reading), inserts it for a split-second, measures it, then gets rid of it. Improves accuracy pretty significantly and doesn't cost much.