WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 25958
investigate matching IE's text-control widths for fonts where the OS/2 table as a non-positive avgCharWidth
https://bugs.webkit.org/show_bug.cgi?id=25958
Summary
investigate matching IE's text-control widths for fonts where the OS/2 table ...
Ojan Vafai
Reported
2009-05-22 02:34:43 PDT
Once
bug 25566
is fixed to use the avgCharWidth in the OS/2 table, we should investigate how IE calculates this value for fonts that have a non-positive (invalid) avgCharWidth in the OS/2 table. I currently see two options. 1. Take the arithmetic average from the hmtx table and see how close that gets us to IE's numbers. 2. Use the width of a '0' character as that matches Safari 3 behavior and the fonts with negative OS/2 avgCharWidth values seem to all be Mac fonts.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug