Bug 141038

Summary: Remove support for screen font substitution
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, buildbot, cdumez, mmaxfield, ossy, rniwa, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews105 for mac-mavericks-wk2
none
Archive of layout-test-results from ews103 for mac-mavericks
none
Patch thorton: review+

Description Sam Weinig 2015-01-29 09:30:25 PST
Remove support for screen font substitution
Comment 1 Sam Weinig 2015-01-29 09:53:25 PST
Created attachment 245628 [details]
Patch
Comment 2 Build Bot 2015-01-29 10:43:11 PST
Comment on attachment 245628 [details]
Patch

Attachment 245628 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/5841498809565184

New failing tests:
fast/text/international/hindi-spacing.html
Comment 3 Build Bot 2015-01-29 10:43:14 PST
Created attachment 245630 [details]
Archive of layout-test-results from ews105 for mac-mavericks-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105  Port: mac-mavericks-wk2  Platform: Mac OS X 10.9.5
Comment 4 Build Bot 2015-01-29 10:58:21 PST
Comment on attachment 245628 [details]
Patch

Attachment 245628 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/5561114754547712

New failing tests:
fast/text/international/hindi-spacing.html
Comment 5 Build Bot 2015-01-29 10:58:24 PST
Created attachment 245633 [details]
Archive of layout-test-results from ews103 for mac-mavericks

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-mavericks  Platform: Mac OS X 10.9.5
Comment 6 Sam Weinig 2015-01-29 14:09:18 PST
Created attachment 245647 [details]
Patch
Comment 7 Tim Horton 2015-01-29 14:16:46 PST
Comment on attachment 245647 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=245647&action=review

> Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm:290
> +    scaledFontData.setNSFont([scaledFontData.nsFont() printerFont]);

Is this still needed? Which direction does it reset in?
Comment 8 Sam Weinig 2015-01-29 14:40:14 PST
Committed r179368: <http://trac.webkit.org/changeset/179368>
Comment 9 Tim Horton 2015-01-29 14:58:43 PST
Build fix in http://trac.webkit.org/changeset/179370
Comment 10 Csaba Osztrogonác 2015-01-29 15:55:57 PST
The Windows build is still broken: 
     1>..\platform\graphics\win\UniscribeController.cpp(316): error C2039: 'isPrinterFont' : is not a member of 'WebCore::FontCascade'
                 C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\graphics\FontCascade.h(109) : see declaration of 'WebCore::FontCascade'
Comment 12 Brent Fulgham 2015-01-29 16:45:33 PST
Windows build fix in r179381 <https://trac.webkit.org/changeset/179381>
and r179383 <https://trac.webkit.org/changeset/179383>
Comment 13 Chris Dumez 2015-01-29 22:24:25 PST
The following test is still failing on the bots after this change:
fast/text/international/hindi-spacing.html

See:
https://build.webkit.
org/results/Apple%20Mavericks%20Release%20WK1%20(Tests)/r179368%20(11726)/results.html
Comment 14 Chris Dumez 2015-01-29 22:28:50 PST
(In reply to comment #13)
> The following test is still failing on the bots after this change:
> fast/text/international/hindi-spacing.html
> 
> See:
> https://build.webkit.
> org/results/Apple%20Mavericks%20Release%20WK1%20(Tests)/r179368%20(11726)/
> results.html

Actually, it looks like Sam rebaselined it in https://trac.webkit.org/changeset/179385. However, it seems fast/forms/select-visual-hebrew.html started failing after that rebaseline:
https://build.webkit.org/results/Apple%20Mavericks%20Release%20WK1%20(Tests)/r179392%20(11741)/results.html
Comment 15 Chris Dumez 2015-01-29 22:45:10 PST
(In reply to comment #14)
> (In reply to comment #13)
> > The following test is still failing on the bots after this change:
> > fast/text/international/hindi-spacing.html
> > 
> > See:
> > https://build.webkit.
> > org/results/Apple%20Mavericks%20Release%20WK1%20(Tests)/r179368%20(11726)/
> > results.html
> 
> Actually, it looks like Sam rebaselined it in
> https://trac.webkit.org/changeset/179385. However, it seems
> fast/forms/select-visual-hebrew.html started failing after that rebaseline:
> https://build.webkit.org/results/Apple%20Mavericks%20Release%20WK1%20(Tests)/
> r179392%20(11741)/results.html

I have just rebaselined it for mavericks in <http://trac.webkit.org/changeset/179394>.