Bug 146385

Summary: REGRESSION (r186001): fast/text/han-generic-font-families.html always fails on Yosemite
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: TextAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, mmaxfield
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 146333    
Bug Blocks:    
Attachments:
Description Flags
Patch darin: review+

Description David Kilzer (:ddkilzer) 2015-06-27 08:48:03 PDT
fast/text/han-generic-font-families.html, which was added in r186001, always fails on Yosemite bots.

It appears that an unexpected font is being used in DumpRenderTree and WebKitTestRunner as loading the two test cases in Safari on bot192 works as expected (the images match):

open LayoutTests/fast/text/han-generic-font-families.html
open LayoutTests/platform/mac-yosemite/fast/text/han-generic-font-families-expected.html
Comment 1 David Kilzer (:ddkilzer) 2015-06-27 08:52:08 PDT
In other words, 'Heiti SC' and 'Heiti TC' are not being used to render the last two lines of the test.

The 'Songti SC' and 'Songti TC' fonts are being used as expected.
Comment 2 David Kilzer (:ddkilzer) 2015-06-27 08:55:25 PDT
Marked test as failing in r186027:  <http://trac.webkit.org/r186027>
Comment 3 Myles C. Maxfield 2015-06-27 13:08:54 PDT
Looking into this today.

(In reply to comment #2)
> Marked test as failing in r186027:  <http://trac.webkit.org/r186027>
Comment 4 Myles C. Maxfield 2015-06-27 14:37:12 PDT
Created attachment 255706 [details]
Patch
Comment 5 Myles C. Maxfield 2015-06-27 14:38:39 PDT
Committed r186034: <http://trac.webkit.org/changeset/186034>