The attached patch fixes the bug (at least for me).
Regards: David Weinehall
--
/) David Weinehall <[email protected]> /) Rime on my window (\
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Diamond-white roses of fire //
\) http://www.acc.umu.se/~tao/ (/ Beautiful hoar-frost (/
--- webkit-1.2.0/WebCore/platform/graphics/cairo/FontCacheCairo.cpp.old 2010-04-08 01:51:30.000000000 +0300
+++ webkit-1.2.0/WebCore/platform/graphics/cairo/FontCacheCairo.cpp 2010-04-18 17:55:27.958693660 +0300
@@ -39,6 +39,9 @@ const SimpleFontData* FontCache::getFont
FcResult fresult;
FontPlatformData* prim = const_cast<FontPlatformData*>(&font.primaryFont()->platformData());
+ if (!prim->m_pattern)
+ return 0;
+
if (!prim->m_fallbacks)
prim->m_fallbacks = FcFontSort(NULL, prim->m_pattern, FcTrue, NULL, &fresult);