[webkit-dev] STIX Fonts and MathML Tests

Dan Bernstein mitz at apple.com
Wed Jul 7 11:25:16 PDT 2010


On Jul 7, 2010, at 11:17 AM, Sausset François wrote:

> If every is OK with licenses, how DumpRenderTree needs to be modified to use custom fonts?

This is where the Mac version activates test fonts:
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm#L218

and this is where the Windows version does it:
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp#L275

You will also need to modify the build system to copy the additional fonts to the right places.

> And where the fonts have to be stored?

Most are here:
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/fonts

Ahem is currently in
http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/qt/fonts
but had better be moved to the cross-platform location.


More information about the webkit-dev mailing list