[Webkit-unassigned] [Bug 61859] Out of memory when drawing text shadow for scale < 1.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 10 20:48:16 PDT 2011


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





--- Comment #10 from Ryuan Choi <ryuan.choi at samsung.com>  2011-07-10 20:48:15 PST ---
(In reply to comment #9)
> (In reply to comment #8)
> > This is general issue of cairo backend. Wrong is calculating m_blurDistance in
> > each Font::drawGlyphs() (FontCairo.cpp) invocation. Maybe ContextShadow should
> > be cleared at the start of drawGlyphsShadow() function.
> 
> Is it also possible to reproduce this on the WinCairo port?

I'm not sure because I can't prepare WinCairo port.
I'll try to prepare and test once more.

Anyway, I found some history.

adjustBlurDistance was introduced at Bug 51161 and it is only for Qt and Cairo port.
However, Qt doesn't call drawGlyphs (I tested on qt-everywhere-opensource-src-4.7.3).

As my understanding Bug 51161, adjustBlurDistance should be called only one time.
but drawGlyphBuffer calls repeatedly adjustBlurDistance via drawGlyphs.

IMO, current patch is valid or adjustBlurDistance should check whether it was applied.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list