FontCustom/fontcustom — pull request #95 by adamhooper (2013-07-03 14:22:42+00:00)
Title: Set glyph widths automatically

fontcustom sets every glyph width to 512.

That's a problem: a right-pointing chevron might have a width of 200, for instance; and when the glyph is set in a `text-align: right;` container, we'd expect it to align all the way to the right.

The solution is to let fontforge figure out glyph widths and write them to the font. This patch does the trick: notice, in generated svg fonts, the new "horiz-adv-x" entries.

This shouldn't have any dramatic negative consequences on users' existing fonts unless users are setting the wrong margins/paddings in their CSS because the icons have the wrong width. And if that's the case, it's probably better to fix this as soon as possible.