[Webkit-unassigned] [Bug 17097] CGFontRefs and HFONTs leak on Windows because FontCache grows without bound

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 30 11:39:03 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17097





------- Comment #1 from aroben at apple.com  2008-01-30 11:39 PDT -------
Some quotes from Hyatt on this issue:

<dhyatt> it's not obvious how to change it without hurting perf
<dhyatt> the tentative idea i had was to refcount FontDatas
<dhyatt> and just pretend like FontPlatformData is always a "temporary"
<dhyatt> to avoid massive refcount churn on the fontplatformdata
<dhyatt> if you look at fontdata's destructor
<dhyatt> (i guess simplefontdata now)
<dhyatt> it does actually have code to delete the HFONT and release the
cgfontref
<dhyatt> it never gets called
<dhyatt> i just mean i wrote the code assuming that someday the fontdatas would
get destroyed
<dhyatt> purged from the cache etc


-- 
Configure bugmail: http://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