[webkit-dev] LayoutTest failures on Windows due to fonts/metric (yet again, any update?)

Pere Martir pere.martir4 at gmail.com
Wed Apr 6 04:43:56 PDT 2011


I am working on Windows and I am planning to submit some patches
(plugin loading) but I have problem make all regression tests
(run-webkit-tests) pass without unmodified code.

I followed all the instructions:

   http://trac.webkit.org/wiki/BuildingOnWindows#Font-metric-relatedfailures

but as it warned, I saw "metric-related failures".

And recently aroben just told me on IRC that I may still have
difference in the metrics so that I suppose that this problem has not
be resolved.

The most related posts that I could find in this list is kinda old.
* Eric Seidel, Oct 2008 - http://markmail.org/message/ihjhh4dre2ztu6v4
* Darin Adler, Apr 2009 - http://markmail.org/message/wsnz67kqm7l7mtk6

However, on WebKit BuildBot I saw that Windows release and debug build
are both "green". I don't see the option "--tolerance" specified.
There must be some tricks of setting up the machine. Any clue please ?

@@ -1,15 +1,15 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
-layer at (0,0) size 800x70
-  RenderBlock {HTML} at (0,0) size 800x70
-    RenderBody {BODY} at (8,8) size 784x54
-      RenderText {#text} at (0,0) size 770x36
+layer at (0,0) size 800x79
+  RenderBlock {HTML} at (0,0) size 800x79
+    RenderBody {BODY} at (8,8) size 784x63
+      RenderText {#text} at (0,0) size 770x41

(full result of 2 failures attached)

One thing may make he difference. In my MacBook, I found *almost all*
fonts listed in:

https://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp#L319

except "Times *.ttf". I did find "Times New Roman8.ttf" so that I
renamed the later.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: layout-test-results.tar.gz
Type: application/x-gzip
Size: 4011 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110406/ab367829/attachment-0001.bin>


More information about the webkit-dev mailing list