[Webkit-unassigned] [Bug 19692] [Qt] Support CSS2 Custom Fonts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 20 12:21:07 PDT 2008


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





------- Comment #3 from pierre-luc.beaudoin at collabora.co.uk  2008-06-20 12:21 PDT -------
A quick look at other ports give us there pseudo call stack:

On page rendering:
Font::fontDataAt()
FontFallbackList::fontDataAt()
FontCache::getFontData()
CSSFontSelector->getFontData()
CSSFontFace->getFontData()
CSSFontFaceSource::getFontData()
CachedFont::beginLoadIfNeeded();
which will trigger the font request, and it will be downloaded

Once it is downloaded, 
CachedFont::checkNotify()
CSSFontFaceSource::fontLoaded(CachedFont*)
CSSFontFace::fontLoaded(CSSFontFaceSource*)
CSSSegmentedFontFace::fontLoaded(CSSFontFace*)
CSSFontSelector::fontLoaded(CSSSegmentedFontFace*)
m_document->renderer()->setNeedsLayoutAndPrefWidthsRecalc();
which will relayout the page using the new downloaded font.


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