Bug 141038 - Remove support for screen font substitution
Summary: Remove support for screen font substitution
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-29 09:30 PST by Sam Weinig
Modified: 2015-01-29 22:45 PST (History)
8 users (show)

See Also:


Attachments
Patch (59.08 KB, patch)
2015-01-29 09:53 PST, Sam Weinig
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews105 for mac-mavericks-wk2 (725.43 KB, application/zip)
2015-01-29 10:43 PST, Build Bot
no flags Details
Archive of layout-test-results from ews103 for mac-mavericks (588.25 KB, application/zip)
2015-01-29 10:58 PST, Build Bot
no flags Details
Patch (61.42 KB, patch)
2015-01-29 14:09 PST, Sam Weinig
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>.