The path to fonts.conf is hardcoded so it causes a problem when webkit is ran in other environment than it has been built. We should provide a mechanism that allows to change the path.
Created attachment 220156 [details] Patch
Comment on attachment 220156 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=220156&action=review > Tools/DumpRenderTree/efl/FontManagement.cpp:132 > + const char* fontConfigFilename = buildPath(fontConfigPath(), "fonts.conf", 0).data(); I tested it locally and it caused use-after-free condition. data() method which returns poiner to a C string is called on temporary object. Although the temporally object is destroyed we still refer to the pointer which contains wrong data.
Created attachment 221364 [details] Patch Patch containing fixes due to what Grzegorz said.
Comment on attachment 221364 [details] Patch r-, because EFL WebKit doesn't have WebKit1 port long time ago. Do you want to port this change to WebKit2? (WTR)