Bug 189448

Summary: Synthetic bold additional advances need to be applied after shaping
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: dbarton, ews-watchlist, fred.wang, mmaxfield, rniwa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=186804
Bug Depends on: 215643, 229388, 229391    
Bug Blocks: 206208    
Attachments:
Description Flags
WIP
none
Archive of layout-test-results from ews103 for mac-sierra
none
Archive of layout-test-results from ews106 for mac-sierra-wk2
none
Archive of layout-test-results from ews112 for mac-sierra
none
Archive of layout-test-results from ews126 for ios-simulator-wk2
none
WIP
none
WIP
none
Patch
none
Patch
none
Patch
none
Archive of layout-test-results from ews116 for mac-sierra
none
Archive of layout-test-results from ews204 for win-future
none
Archive of layout-test-results from ews125 for ios-simulator-wk2
none
Archive of layout-test-results from ews104 for mac-sierra-wk2
none
Archive of layout-test-results from ews103 for mac-sierra
none
Patch
none
Archive of layout-test-results from ews126 for ios-simulator-wk2
none
Archive of layout-test-results from ews200 for win-future
none
Archive of layout-test-results from ews117 for mac-sierra
none
Archive of layout-test-results from ews104 for mac-sierra-wk2
none
Archive of layout-test-results from ews103 for mac-sierra
none
WIP
none
WIP
none
WIP
none
Need to figure out how ligatures should work
none
Need to figure out how ligatures should work
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Will be some red because bug 229391 isn't landed yet
zalan: review+, ews-feeder: commit-queue-
Patch for committing none

Myles C. Maxfield
Reported 2018-09-07 21:57:32 PDT
Osaka is totally busted
Attachments
WIP (3.04 KB, patch)
2018-09-07 21:58 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews103 for mac-sierra (800.13 KB, application/zip)
2018-09-07 22:46 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews106 for mac-sierra-wk2 (886.94 KB, application/zip)
2018-09-07 22:53 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews112 for mac-sierra (880.83 KB, application/zip)
2018-09-07 23:02 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews126 for ios-simulator-wk2 (1.07 MB, application/zip)
2018-09-07 23:39 PDT, EWS Watchlist
no flags
WIP (3.49 KB, patch)
2018-09-12 17:11 PDT, Myles C. Maxfield
no flags
WIP (3.49 KB, patch)
2018-09-12 17:12 PDT, Myles C. Maxfield
no flags
Patch (12.24 KB, patch)
2018-09-12 22:47 PDT, Myles C. Maxfield
no flags
Patch (14.63 KB, patch)
2018-09-12 23:39 PDT, Myles C. Maxfield
no flags
Patch (14.64 KB, patch)
2018-09-12 23:57 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews116 for mac-sierra (3.93 MB, application/zip)
2018-09-13 01:48 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews204 for win-future (13.23 MB, application/zip)
2018-09-13 01:48 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (2.63 MB, application/zip)
2018-09-13 03:06 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews104 for mac-sierra-wk2 (4.37 MB, application/zip)
2018-09-13 05:37 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews103 for mac-sierra (3.32 MB, application/zip)
2018-09-13 07:29 PDT, EWS Watchlist
no flags
Patch (15.78 KB, patch)
2018-09-13 10:45 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews126 for ios-simulator-wk2 (13.15 MB, application/zip)
2018-09-13 13:18 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews200 for win-future (13.22 MB, application/zip)
2018-09-13 13:36 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews117 for mac-sierra (4.01 MB, application/zip)
2018-09-13 14:09 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews104 for mac-sierra-wk2 (4.71 MB, application/zip)
2018-09-13 14:55 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews103 for mac-sierra (3.35 MB, application/zip)
2018-09-13 15:55 PDT, EWS Watchlist
no flags
WIP (17.64 KB, patch)
2018-09-13 21:03 PDT, Myles C. Maxfield
no flags
WIP (18.07 KB, patch)
2018-09-13 21:42 PDT, Myles C. Maxfield
no flags
WIP (18.09 KB, patch)
2018-09-13 22:12 PDT, Myles C. Maxfield
no flags
Need to figure out how ligatures should work (18.85 KB, patch)
2018-09-13 23:24 PDT, Myles C. Maxfield
no flags
Need to figure out how ligatures should work (19.51 KB, patch)
2018-09-13 23:32 PDT, Myles C. Maxfield
no flags
Patch (12.14 KB, patch)
2021-08-13 16:20 PDT, Myles C. Maxfield
no flags
Patch (12.29 KB, patch)
2021-08-13 16:27 PDT, Myles C. Maxfield
no flags
Patch (13.59 KB, patch)
2021-08-13 17:06 PDT, Myles C. Maxfield
no flags
Patch (12.50 KB, patch)
2021-08-21 22:51 PDT, Myles C. Maxfield
no flags
Patch (12.38 KB, patch)
2021-08-22 14:10 PDT, Myles C. Maxfield
no flags
Patch (16.06 KB, patch)
2021-08-22 15:25 PDT, Myles C. Maxfield
no flags
Patch (119.34 KB, patch)
2021-08-22 15:48 PDT, Myles C. Maxfield
no flags
Patch (150.89 KB, patch)
2021-08-22 15:58 PDT, Myles C. Maxfield
no flags
Patch (148.51 KB, patch)
2021-08-22 16:53 PDT, Myles C. Maxfield
no flags
Patch (152.81 KB, patch)
2021-08-22 22:58 PDT, Myles C. Maxfield
no flags
Patch (151.68 KB, patch)
2021-08-22 23:17 PDT, Myles C. Maxfield
no flags
Will be some red because bug 229391 isn't landed yet (123.89 KB, patch)
2021-08-23 11:53 PDT, Myles C. Maxfield
zalan: review+
ews-feeder: commit-queue-
Patch for committing (124.59 KB, patch)
2021-08-26 20:59 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2018-09-07 21:58:04 PDT
Myles C. Maxfield
Comment 2 2018-09-07 21:58:06 PDT
EWS Watchlist
Comment 3 2018-09-07 21:59:47 PDT
Attachment 349240 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:9: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] ERROR: Source/WebCore/platform/graphics/WidthIterator.cpp:98: Should have a space between // and comment [whitespace/comments] [4] Total errors found: 2 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Myles C. Maxfield
Comment 4 2018-09-07 22:04:58 PDT
There are two problems with Osaka: 1) Osaka changes the advance of every character significantly during shaping. We will slice and dice the text multiple ways during layout, and if we encounter a chunk of text of length 1, we don't run shaping. This is because Japanese text uses the simple code path, and, because shaping was intended only for kerning/ligatures, which don't need to apply kerning/ligatures when there is only a single character being measured. This is a problem because we often measure text "word" by "word" where "word" means "the text between adjacent line breaking opportunities." For Japanese, this usually happens every character, but sometimes it doesn't because of things like punctuation (U+3010). The uploaded patch "fixes" this by simply running shaping even on 1-length TextRuns, which surely is a massive performance regression. 2) Synthetic bold affects layout in the complex text path, but not the simple one. In the complex text path, the width of every character gets inflated by the size of the synthetic bold offset. This is a problem because selecting text with the mouse causes us to use the complex text path, but the regular rendering causes us to use the simple text rendering (for Japanese) so they have to agree. The uploaded patch fixes this by applying the offset even in the simple text codepath. This needs to be applied after shaping but before the charactersTreatedAsSpace stuff happens (since spaces don't get the inflated advance since they don't draw anything).
EWS Watchlist
Comment 5 2018-09-07 22:46:08 PDT
Comment on attachment 349240 [details] WIP Attachment 349240 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/9137797 Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 6 2018-09-07 22:46:10 PDT
Created attachment 349246 [details] Archive of layout-test-results from ews103 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 7 2018-09-07 22:53:24 PDT
Comment on attachment 349240 [details] WIP Attachment 349240 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/9137810 Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 8 2018-09-07 22:53:25 PDT
Created attachment 349248 [details] Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 9 2018-09-07 23:02:05 PDT
Comment on attachment 349240 [details] WIP Attachment 349240 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/9137767 Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 10 2018-09-07 23:02:06 PDT
Created attachment 349249 [details] Archive of layout-test-results from ews112 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 11 2018-09-07 23:39:32 PDT
Comment on attachment 349240 [details] WIP Attachment 349240 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/9137894 Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 12 2018-09-07 23:39:34 PDT
Created attachment 349251 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
Myles C. Maxfield
Comment 13 2018-09-10 19:00:30 PDT
Two other possibilities: 1) Don't use Osaka ever 2) Use Osaka-Mono instead of Osaka
Myles C. Maxfield
Comment 14 2018-09-11 12:52:59 PDT
We can use https://bugs.webkit.org/show_bug.cgi?id=186804 for the single-character shaping, and this bug for the synthetic bold problem.
Myles C. Maxfield
Comment 15 2018-09-12 12:58:23 PDT
Oh, I see. I wasn't quite right about Osaka & synthetic bold. For our simple text codepath, we add the synthetic bold offset to each glyph's advance before shaping. Then, we run shaping on this previously-inflated glyphs and assume that the inflation will survive the transformation. However, Osaka disregards the input advances and just overwrites them totally. (We don't then re-apply the synthetic advance because we assume it survived.) In the complex path, we create CTRuns from the original font, so we have to apply synthetic bold after shaping. Therefore, the simple & complex path disagree about the advances of Osaka. The best solution is to apply the synthetic offset after shaping in both paths.
Myles C. Maxfield
Comment 16 2018-09-12 17:11:06 PDT
Myles C. Maxfield
Comment 17 2018-09-12 17:12:20 PDT
Myles C. Maxfield
Comment 18 2018-09-12 22:47:38 PDT
Myles C. Maxfield
Comment 19 2018-09-12 23:39:38 PDT
Myles C. Maxfield
Comment 20 2018-09-12 23:57:10 PDT
EWS Watchlist
Comment 21 2018-09-13 01:48:18 PDT
Comment on attachment 349635 [details] Patch Attachment 349635 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/9200624 New failing tests: fast/css/font-face-multiple-faces.html fonts/monospace.html fonts/cursive.html fast/css/font-face-synthetic-bold-italic.html fast/text/simple-synthetic-bold.html fast/text/complex-synthetic-bold-space-width.html fonts/fantasy.html fast/text/atsui-multiple-renderers.html
EWS Watchlist
Comment 22 2018-09-13 01:48:20 PDT
Created attachment 349645 [details] Archive of layout-test-results from ews116 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 23 2018-09-13 01:48:20 PDT
Comment on attachment 349635 [details] Patch Attachment 349635 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/9200727 New failing tests: svg/W3C-SVG-1.1-SE/paths-dom-02-f.svg svg/W3C-SVG-1.1-SE/struct-use-14-f.svg fast/text/simple-synthetic-bold.html svg/W3C-SVG-1.1-SE/filters-image-03-f.svg svg/W3C-SVG-1.1-SE/pservers-pattern-03-f.svg svg/W3C-SVG-1.1-SE/svgdom-over-01-f.svg
EWS Watchlist
Comment 24 2018-09-13 01:48:32 PDT
Created attachment 349646 [details] Archive of layout-test-results from ews204 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews204 Port: win-future Platform: CYGWIN_NT-6.1-2.10.0-0.325-5-3-x86_64-64bit
EWS Watchlist
Comment 25 2018-09-13 03:06:29 PDT
Comment on attachment 349635 [details] Patch Attachment 349635 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/9201086 New failing tests: fonts/fantasy.html fast/text/simple-synthetic-bold.html
EWS Watchlist
Comment 26 2018-09-13 03:06:31 PDT
Created attachment 349649 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
EWS Watchlist
Comment 27 2018-09-13 05:37:07 PDT
Comment on attachment 349635 [details] Patch Attachment 349635 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/9201980 New failing tests: fast/css/font-face-multiple-faces.html fonts/monospace.html fonts/cursive.html fast/css/font-face-synthetic-bold-italic.html fast/text/simple-synthetic-bold.html fast/text/complex-synthetic-bold-space-width.html fonts/fantasy.html fast/text/atsui-multiple-renderers.html
EWS Watchlist
Comment 28 2018-09-13 05:37:09 PDT
Created attachment 349657 [details] Archive of layout-test-results from ews104 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 29 2018-09-13 07:29:46 PDT
Comment on attachment 349635 [details] Patch Attachment 349635 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/9202619 New failing tests: fast/css/font-face-multiple-faces.html fonts/monospace.html fonts/cursive.html fast/css/font-face-synthetic-bold-italic.html fast/text/simple-synthetic-bold.html fast/text/complex-synthetic-bold-space-width.html fonts/fantasy.html fast/text/atsui-multiple-renderers.html
EWS Watchlist
Comment 30 2018-09-13 07:29:48 PDT
Created attachment 349665 [details] Archive of layout-test-results from ews103 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-sierra Platform: Mac OS X 10.12.6
Myles C. Maxfield
Comment 31 2018-09-13 10:45:45 PDT
EWS Watchlist
Comment 32 2018-09-13 13:18:40 PDT
Comment on attachment 349681 [details] Patch Attachment 349681 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/9205075 New failing tests: fonts/fantasy.html fast/text/simple-synthetic-bold.html
EWS Watchlist
Comment 33 2018-09-13 13:18:43 PDT
Created attachment 349692 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
EWS Watchlist
Comment 34 2018-09-13 13:35:55 PDT
Comment on attachment 349681 [details] Patch Attachment 349681 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/9205533 New failing tests: svg/text/select-textLength-spacingAndGlyphs-stretch-3.svg svg/text/select-textLength-spacingAndGlyphs-squeeze-3.svg svg/text/select-textLength-spacingAndGlyphs-stretch-2.svg fast/text/simple-synthetic-bold.html svg/text/select-textLength-spacingAndGlyphs-squeeze-1.svg svg/text/select-textLength-spacingAndGlyphs-stretch-1.svg svg/text/select-textLength-spacingAndGlyphs-squeeze-4.svg svg/text/select-textLength-spacingAndGlyphs-squeeze-2.svg
EWS Watchlist
Comment 35 2018-09-13 13:36:07 PDT
Created attachment 349694 [details] Archive of layout-test-results from ews200 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews200 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
EWS Watchlist
Comment 36 2018-09-13 14:09:46 PDT
Comment on attachment 349681 [details] Patch Attachment 349681 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/9205622 New failing tests: fast/css/font-face-weight-matching.html fast/text/fallback-traits-fixup.html fonts/monospace.html fonts/cursive.html fast/css/font-face-synthetic-bold-italic.html fast/text/simple-synthetic-bold.html fast/text/complex-synthetic-bold-space-width.html fonts/fantasy.html fast/text/atsui-multiple-renderers.html fast/css/font-face-multiple-faces.html
EWS Watchlist
Comment 37 2018-09-13 14:09:48 PDT
Created attachment 349703 [details] Archive of layout-test-results from ews117 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 38 2018-09-13 14:55:08 PDT
Comment on attachment 349681 [details] Patch Attachment 349681 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/9206335 New failing tests: fast/css/font-face-weight-matching.html fast/text/fallback-traits-fixup.html fonts/monospace.html fonts/cursive.html fast/css/font-face-synthetic-bold-italic.html fast/text/simple-synthetic-bold.html fast/text/complex-synthetic-bold-space-width.html fonts/fantasy.html fast/text/atsui-multiple-renderers.html fast/css/font-face-multiple-faces.html
EWS Watchlist
Comment 39 2018-09-13 14:55:10 PDT
Created attachment 349705 [details] Archive of layout-test-results from ews104 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 40 2018-09-13 15:55:06 PDT
Comment on attachment 349681 [details] Patch Attachment 349681 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/9206904 New failing tests: fast/css/font-face-weight-matching.html fast/text/fallback-traits-fixup.html fonts/monospace.html fonts/cursive.html fast/css/font-face-synthetic-bold-italic.html fast/text/simple-synthetic-bold.html fast/text/complex-synthetic-bold-space-width.html fonts/fantasy.html fast/text/atsui-multiple-renderers.html fast/css/font-face-multiple-faces.html
EWS Watchlist
Comment 41 2018-09-13 15:55:08 PDT
Created attachment 349710 [details] Archive of layout-test-results from ews103 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-sierra Platform: Mac OS X 10.12.6
Myles C. Maxfield
Comment 42 2018-09-13 18:52:49 PDT
(In reply to Build Bot from comment #40) > Comment on attachment 349681 [details] > Patch > > Attachment 349681 [details] did not pass mac-ews (mac): > Output: https://webkit-queues.webkit.org/results/9206904 > > New failing tests: > fast/css/font-face-weight-matching.html > fast/text/fallback-traits-fixup.html > fonts/monospace.html > fonts/cursive.html > fast/css/font-face-synthetic-bold-italic.html > fast/text/simple-synthetic-bold.html I don't understand; that's not a test. https://trac.webkit.org/browser/webkit/trunk/LayoutTests/fast/text/simple-synthetic-bold.html > fast/text/complex-synthetic-bold-space-width.html > fonts/fantasy.html > fast/text/atsui-multiple-renderers.html > fast/css/font-face-multiple-faces.html
Myles C. Maxfield
Comment 43 2018-09-13 18:54:50 PDT
(In reply to Myles C. Maxfield from comment #42) > (In reply to Build Bot from comment #40) > > Comment on attachment 349681 [details] > > Patch > > > > Attachment 349681 [details] did not pass mac-ews (mac): > > Output: https://webkit-queues.webkit.org/results/9206904 > > > > New failing tests: > > fast/css/font-face-weight-matching.html > > fast/text/fallback-traits-fixup.html > > fonts/monospace.html > > fonts/cursive.html > > fast/css/font-face-synthetic-bold-italic.html > > fast/text/simple-synthetic-bold.html > > I don't understand; that's not a test. > https://trac.webkit.org/browser/webkit/trunk/LayoutTests/fast/text/simple- > synthetic-bold.html Oh wait, that's my new test. hahaha.... > > > fast/text/complex-synthetic-bold-space-width.html > > fonts/fantasy.html > > fast/text/atsui-multiple-renderers.html > > fast/css/font-face-multiple-faces.html
Myles C. Maxfield
Comment 44 2018-09-13 18:57:40 PDT
(In reply to Build Bot from comment #40) > Comment on attachment 349681 [details] > Patch > > Attachment 349681 [details] did not pass mac-ews (mac): > Output: https://webkit-queues.webkit.org/results/9206904 > > New failing tests: > fast/css/font-face-weight-matching.html > fast/text/fallback-traits-fixup.html > fonts/monospace.html > fonts/cursive.html > fast/css/font-face-synthetic-bold-italic.html > fast/text/simple-synthetic-bold.html > fast/text/complex-synthetic-bold-space-width.html > fonts/fantasy.html > fast/text/atsui-multiple-renderers.html > fast/css/font-face-multiple-faces.html Unfortunately, all those tests pass on my High Sierra machine...
Myles C. Maxfield
Comment 45 2018-09-13 19:25:19 PDT
(In reply to Myles C. Maxfield from comment #44) > (In reply to Build Bot from comment #40) > > Comment on attachment 349681 [details] > > Patch > > > > Attachment 349681 [details] did not pass mac-ews (mac): > > Output: https://webkit-queues.webkit.org/results/9206904 > > > > New failing tests: > > fast/css/font-face-weight-matching.html > > fast/text/fallback-traits-fixup.html > > fonts/monospace.html > > fonts/cursive.html > > fast/css/font-face-synthetic-bold-italic.html > > fast/text/simple-synthetic-bold.html > > fast/text/complex-synthetic-bold-space-width.html > > fonts/fantasy.html > > fast/text/atsui-multiple-renderers.html > > fast/css/font-face-multiple-faces.html > > Unfortunately, all those tests pass on my High Sierra machine... Whoops, that's not true....
Myles C. Maxfield
Comment 46 2018-09-13 21:03:47 PDT
Myles C. Maxfield
Comment 47 2018-09-13 21:42:55 PDT
Myles C. Maxfield
Comment 48 2018-09-13 22:12:34 PDT
Myles C. Maxfield
Comment 49 2018-09-13 23:24:29 PDT
Created attachment 349737 [details] Need to figure out how ligatures should work
Myles C. Maxfield
Comment 50 2018-09-13 23:32:31 PDT
Created attachment 349739 [details] Need to figure out how ligatures should work
Myles C. Maxfield
Comment 51 2021-08-13 14:42:56 PDT
Osaka counts as a user-installed font, so it isn't available in Safari. You have to use MiniBrowser to reproduce this.
Myles C. Maxfield
Comment 52 2021-08-13 16:20:13 PDT
Created attachment 435524 [details] Patch Marking as r? despite this patch depending on https://bugs.webkit.org/show_bug.cgi?id=215643
Myles C. Maxfield
Comment 53 2021-08-13 16:27:49 PDT
Myles C. Maxfield
Comment 54 2021-08-13 16:31:03 PDT
Lots of test failures :(
Myles C. Maxfield
Comment 55 2021-08-13 17:06:26 PDT
Myles C. Maxfield
Comment 56 2021-08-13 22:31:37 PDT
I believe the tests are passing now. EWS is red because this patch depends on https://bugs.webkit.org/show_bug.cgi?id=215643
Myles C. Maxfield
Comment 57 2021-08-21 22:51:02 PDT
Myles C. Maxfield
Comment 58 2021-08-22 14:10:26 PDT
Myles C. Maxfield
Comment 59 2021-08-22 15:25:46 PDT
Myles C. Maxfield
Comment 60 2021-08-22 15:37:36 PDT
fonts/cursive.html is a progression
Myles C. Maxfield
Comment 61 2021-08-22 15:48:43 PDT
Myles C. Maxfield
Comment 62 2021-08-22 15:58:06 PDT
Myles C. Maxfield
Comment 63 2021-08-22 16:53:46 PDT
Myles C. Maxfield
Comment 64 2021-08-22 22:56:31 PDT
The Osaka test hangs because Osaka is a mobileasset font, and the download prompt blocks for user input. The prompt is coming from autoActivateFont(). IIRC the way we got around this before was to add kCTFontEnabledAttribute:kCFBooleanTrue to the attribute dictionary.
Myles C. Maxfield
Comment 65 2021-08-22 22:58:08 PDT
Myles C. Maxfield
Comment 66 2021-08-22 23:17:59 PDT
Myles C. Maxfield
Comment 67 2021-08-23 00:39:39 PDT
Some tests are failing because https://bugs.webkit.org/show_bug.cgi?id=206208 has not landed yet.
Myles C. Maxfield
Comment 68 2021-08-23 11:53:53 PDT
Created attachment 436216 [details] Will be some red because bug 229391 isn't landed yet
Myles C. Maxfield
Comment 69 2021-08-26 20:59:51 PDT
Created attachment 436607 [details] Patch for committing
EWS
Comment 70 2021-08-26 23:19:04 PDT
Committed r281687 (241037@main): <https://commits.webkit.org/241037@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 436607 [details].
Note You need to log in before you can comment on or make changes to this bug.