Chromium bug entry: http://crbug.com/94903 Chromium win port uses CreateFontIndirect() to create FontCustomPlatformData object for webfonts. A webfont could be wider (or narrower) than expected when the font's weight class isn't normal(400) because CreateFontIndirect() adjusts font weight according to LOGFONT.lfWeight. For webfonts, we should set LOGFONT.lfWeight to FW_DONTCARE, which means using a default weight.
Created attachment 105942 [details] Patch
I didn't come up with how to test for this patch because testing this patch requires a non-local font whose weight class isn't normal..
Comment on attachment 105942 [details] Patch ok
Comment on attachment 105942 [details] Patch Kent-san, Thank you for review!
Comment on attachment 105942 [details] Patch Clearing flags on attachment: 105942 Committed r94400: <http://trac.webkit.org/changeset/94400>
All reviewed patches have been landed. Closing bug.