systemed/iD — pull request #1786 by hlaw (2013-09-06 12:36:04+00:00)
Title: Fix line labels for wide characters

Ref: issue #1453

This is a patch on `js/svg/label.js` to solve the issue of Chinese labels, modifying the calculation of `textWidth()` taking into account wide characters. Tested locally and the labels displayed correctly.