WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25581
maxCharWidth computation in SimpleFontDataMac.mm is smaller than Windows results
https://bugs.webkit.org/show_bug.cgi?id=25581
Summary
maxCharWidth computation in SimpleFontDataMac.mm is smaller than Windows results
Ojan Vafai
Reported
2009-05-05 18:09:59 PDT
The numbers we get on the mac are often 10-20px smaller than the numbers we get on Windows. This matters because it is one of the factors that makes our text inputs smaller than IE on Mac WebKit. Currently we grab the maximumAdvancement off the NSFont. On Chromium Linux (which gets the same values as Windows for Windows fonts), we compute the maxCharWidth as the xMax-xMin of the font by looking at the hmtx font table. Or something like that. :) Amanda is working on a patch that tries to do the same on the Mac.
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