[Webkit-unassigned] [Bug 104954] http/tests/canvas/canvas-slow-font-loading.html fails on Mac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 24 03:57:50 PST 2015


--- Comment #2 from David Kilzer (:ddkilzer) <ddkilzer at webkit.org> ---
Created attachment 247219
  --> https://bugs.webkit.org/attachment.cgi?id=247219&action=review
Fixes the test, but ...

This patch fixes the test, but I'm not sure if it's correct.

- I think the test is failing because there is a built-in "Ahem" font that's loaded in DRT/WKTR, and I assume that built-in font will be preferred over a WebFont with the same name, so it always loads fast.  If that is correct, the test shouldn't be using "Ahem" for the name of the WebFont.

- If I change the name of the WebFont to "AhemSlow", the test passes, but I'm not sure if that's because it's doing the right thing, or whether the AhemSlow font isn't loading because the internal name of Ahem.ttf doesn't match "AhemSlow".  Commenting out the "sleep(1)" command in the CGI script doesn't seem to change the results of the test, but maybe that's just an extra precaution.  (In other words, can you give an arbitrary name to any *.ttf file loaded as a WebFont, regardless of its PostScript name?)

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150224/a7240877/attachment-0002.html>

More information about the webkit-unassigned mailing list