[Webkit-unassigned] [Bug 35080] fast/css/font-face-opentype.html crashing on GTK bots

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 1 00:44:03 PDT 2010


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





--- Comment #2 from Andrei Bucur <abucur at adobe.com>  2010-10-01 00:44:03 PST ---
The issue was that there is no m_pattern for custom fonts in FontPlatformData. This caused a crash when accessing m_pattern in FontCache::getFontDataForCharacters. The GTK fix is to make this check:
    // FIXME: This should not happen, apparently. We are null-checking
    // for now just to avoid crashing.
    if (!prim || !prim->m_pattern)
        return 0;

The real fix would be generating m_patter from a FreeType font using http://fontconfig.org/fontconfig-devel/fcfreetypequeryface.html

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