[webkit-dev] calcPrefWidths, SimpleFontData, and text fields (oh my!)
Mike Pinkerton
pinkerton at chromium.org
Wed Nov 19 13:32:34 PST 2008
Sorry everyone, I was looking at our current Chromium source, which
has patches applied over ToT Webkit.
It all makes sense now. Clue vended, thanks!
On Wed, Nov 19, 2008 at 4:26 PM, Dan Bernstein <mitz at apple.com> wrote:
>
> 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?
--
Mike Pinkerton
Mac Weenie
pinkerton at google.com
More information about the webkit-dev
mailing list