Because FontCacheCairo use GOwnPtr, EWebKit can't remove glib dependency without GLIB_SUPPORT. I suggest to change GOwnPtr to OwnPtr at below code in FontCacheCairo. GOwnPtr<FcPattern> pattern(FcPatternCreate()); if (!FcPatternAddString(pattern.get(), FC_FAMILY, reinterpret_cast<const FcChar8*>(fcfamily))) return 0; GOwnPtr<FcObjectSet> objectSet(FcObjectSetCreate()); if (!FcObjectSetAdd(objectSet.get(), FC_FAMILY)) return 0; GOwnPtr<FcFontSet> fontSet(FcFontList(0, pattern.get(), objectSet.get()));
Created attachment 66335 [details] Patch
Hi Ryuan, I think you sent exactly the same patch that I sent in bug 45053 :P
yes, Sorry I didn't see :) *** This bug has been marked as a duplicate of bug 45053 ***
Comment on attachment 66335 [details] Patch Clearing flags, as this has already landed elsewhere.