[Webkit-unassigned] [Bug 25958] New: investigate matching IE's text-control widths for fonts where the OS/2 table as a non-positive avgCharWidth
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 22 02:34:43 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25958
Summary: investigate matching IE's text-control widths for fonts
where the OS/2 table as a non-positive avgCharWidth
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ojan at chromium.org
BugsThisDependsOn: 25566
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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list