Comment #9 on issue 31439 by o...@chromium.org: certain fonts cause 0-width renderer controls
http://code.google.com/p/chromium/issues/detail?id=31439

There are some mac fonts that have invalid (i.e. non-positive) values in the OS/2 table for avgCharWidth. That's the value used to calculate text control intrinsic widths. I have a patch up at https://bugs.webkit.org/show_bug.cgi?id=25566 that will fix this, but I'm not sure it will be
approved.

In either case, it might be a good idea to improve our handling of non-positive avgCharWidths. Currently we just null-check. We should probably check if it's <= 0. See line 109 of
WebKit/WebCore/platform/graphics/chromium/SimpleFontDataLinux.cpp.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to