[webkit-dev] calcPrefWidths, SimpleFontData, and text fields (oh my!)

Dan Bernstein mitz at apple.com
Wed Nov 19 13:26:52 PST 2008

On Nov 19, 2008, at 1:17 PM, Mike Pinkerton wrote:

> In tracking down something for Mac Chromium, I came across something
> in WebCore that I can't explain, and hopefully someone on this list
> can vend me a clue.
> RenderTextControl::calcPrefWidths() checks the average character width
> of the primary font if the width isn't explicitly set.

I don’t see such code in TOT WebKit. Are you by any chance looking at  
a version of the source that has a patch similar to the one from <https://bugs.webkit.org/show_bug.cgi?id=15312 
 > applied to it?

More information about the webkit-dev mailing list