There are a few fonts we mark as having invalid character widths when laying out form controls. Some internal fonts on OS X are not listed, but these all start with a ".", so they should be easy to test for.
Created attachment 201306 [details]
Comment on attachment 201306 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=201306&action=review
> + if (family.startsWith('.'))
> + return false;
Needs a “why” comment.
Also, I’d put this before the map building code. It seems strange to have this in between the map building and the use of the map.
Committed r149880: <http://trac.webkit.org/changeset/149880>
This caused bug 123235.