[Webkit-unassigned] [Bug 25566] REGRESSION: text inputs with "size" are often smaller than before, but sometimes bigger (originally noticed in bugs.webkit.org text fields)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 21 01:29:05 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25566





------- Comment #12 from ojan at chromium.org  2009-05-21 01:29 PDT -------
That patch isn't for review, it's just to show my final attempt at getting the
same metrics as those Windows returns. This works well for some fonts (e.g.
verdana, arial), but not others (e.g. courier new). 

It might be possible to iterate on this and get better results for the fonts
that aren't good right now, but my hopes are not high. I lean towards just
having a hard-coded table of font-name -> avgCharWidth, maxCharWidth.


-- 
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