| 89 | === Font-metric-related failures === |
| 90 | |
| 91 | Running layout-test on Windows requires a set of fonts not normally bundled with Windows. The full list of |
| 92 | required fonts can be found here: |
| 93 | |
| 94 | https://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp#L256 |
| 95 | |
| 96 | Most of these fonts come from OS X, so they can't be freely redistributed as one font-package for testing-purposes. |
| 97 | |
| 98 | They can however be copied from your Mac (if you have one), but they have to be converted into a TrueType format Windows understands. |
| 99 | |
| 100 | * {{{*.ttc}}} files can be extraced using a tool from http://www.xlsoft.com/jp/products/indigorose/files/ttsdk.zip |
| 101 | * {{{*.dfont }}} and Mac-style {{{ *.ttf}}} files can be converted using [http://www.xlsoft.com/jp/products/indigorose/files/ttsdk.zip CrossFont] (the trial edition works fine). |
| 102 | |
| 103 | Look in {{{/System/Library/Fonts and /Library/Fonts}}} for the source files. |
| 104 | |
| 105 | The rest of the fonts can be found here: |
| 106 | |
| 107 | https://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/fonts |
| 108 | |
| 109 | The easiest approach to do is to convert all these fonts to Windows-style TrueType fonts and put them in a single folder. Then point the {{{WEBKIT_TESTFONTS}}} environment variable to that directory when running {{{run-webkit-tests}}}. |
| 110 | |
| 111 | Note however that you might still see metric-related failures (if anyone knows why, please update this section with more complete instructions). |
| 112 | |
| 113 | |