Bug 189448 - Synthetic bold additional advances need to be applied after shaping
Summary: Synthetic bold additional advances need to be applied after shaping
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords: InRadar
Depends on: 215643 229388 229391
Blocks: 206208
  Show dependency treegraph
 
Reported: 2018-09-07 21:57 PDT by Myles C. Maxfield
Modified: 2021-08-26 23:19 PDT (History)
8 users (show)

See Also:


Attachments
WIP (3.04 KB, patch)
2018-09-07 21:58 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
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 Details
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 Details
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 Details
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 Details
WIP (3.49 KB, patch)
2018-09-12 17:11 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
WIP (3.49 KB, patch)
2018-09-12 17:12 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (12.24 KB, patch)
2018-09-12 22:47 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (14.63 KB, patch)
2018-09-12 23:39 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (14.64 KB, patch)
2018-09-12 23:57 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
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 Details
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 Details
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 Details
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 Details
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 Details
Patch (15.78 KB, patch)
2018-09-13 10:45 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
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 Details
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 Details
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 Details
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 Details
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 Details
WIP (17.64 KB, patch)
2018-09-13 21:03 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
WIP (18.07 KB, patch)
2018-09-13 21:42 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
WIP (18.09 KB, patch)
2018-09-13 22:12 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Need to figure out how ligatures should work (18.85 KB, patch)
2018-09-13 23:24 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Need to figure out how ligatures should work (19.51 KB, patch)
2018-09-13 23:32 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (12.14 KB, patch)
2021-08-13 16:20 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (12.29 KB, patch)
2021-08-13 16:27 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (13.59 KB, patch)
2021-08-13 17:06 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (12.50 KB, patch)
2021-08-21 22:51 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (12.38 KB, patch)
2021-08-22 14:10 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (16.06 KB, patch)
2021-08-22 15:25 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (119.34 KB, patch)
2021-08-22 15:48 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (150.89 KB, patch)
2021-08-22 15:58 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (148.51 KB, patch)
2021-08-22 16:53 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (152.81 KB, patch)
2021-08-22 22:58 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (151.68 KB, patch)
2021-08-22 23:17 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
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-
Details | Formatted Diff | Diff
Patch for committing (124.59 KB, patch)
2021-08-26 20:59 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2018-09-07 21:57:32 PDT
Osaka is totally busted
Comment 1 Myles C. Maxfield 2018-09-07 21:58:04 PDT
Created attachment 349240 [details]
WIP
Comment 2 Myles C. Maxfield 2018-09-07 21:58:06 PDT
<rdar://problem/40994395>
Comment 3 EWS Watchlist 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.
Comment 4 Myles C. Maxfield 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).
Comment 5 EWS Watchlist 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.
Comment 6 EWS Watchlist 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
Comment 7 EWS Watchlist 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.
Comment 8 EWS Watchlist 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
Comment 9 EWS Watchlist 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.
Comment 10 EWS Watchlist 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
Comment 11 EWS Watchlist 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.
Comment 12 EWS Watchlist 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
Comment 13 Myles C. Maxfield 2018-09-10 19:00:30 PDT
Two other possibilities:

1) Don't use Osaka ever
2) Use Osaka-Mono instead of Osaka
Comment 14 Myles C. Maxfield 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.
Comment 15 Myles C. Maxfield 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.
Comment 16 Myles C. Maxfield 2018-09-12 17:11:06 PDT
Created attachment 349600 [details]
WIP
Comment 17 Myles C. Maxfield 2018-09-12 17:12:20 PDT
Created attachment 349602 [details]
WIP
Comment 18 Myles C. Maxfield 2018-09-12 22:47:38 PDT
Created attachment 349630 [details]
Patch
Comment 19 Myles C. Maxfield 2018-09-12 23:39:38 PDT
Created attachment 349634 [details]
Patch
Comment 20 Myles C. Maxfield 2018-09-12 23:57:10 PDT
Created attachment 349635 [details]
Patch
Comment 21 EWS Watchlist 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
Comment 22 EWS Watchlist 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
Comment 23 EWS Watchlist 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
Comment 24 EWS Watchlist 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
Comment 25 EWS Watchlist 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
Comment 26 EWS Watchlist 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
Comment 27 EWS Watchlist 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
Comment 28 EWS Watchlist 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
Comment 29 EWS Watchlist 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
Comment 30 EWS Watchlist 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
Comment 31 Myles C. Maxfield 2018-09-13 10:45:45 PDT
Created attachment 349681 [details]
Patch
Comment 32 EWS Watchlist 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
Comment 33 EWS Watchlist 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
Comment 34 EWS Watchlist 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
Comment 35 EWS Watchlist 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
Comment 36 EWS Watchlist 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
Comment 37 EWS Watchlist 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
Comment 38 EWS Watchlist 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
Comment 39 EWS Watchlist 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
Comment 40 EWS Watchlist 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
Comment 41 EWS Watchlist 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
Comment 42 Myles C. Maxfield 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
Comment 43 Myles C. Maxfield 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
Comment 44 Myles C. Maxfield 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...
Comment 45 Myles C. Maxfield 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....
Comment 46 Myles C. Maxfield 2018-09-13 21:03:47 PDT
Created attachment 349731 [details]
WIP
Comment 47 Myles C. Maxfield 2018-09-13 21:42:55 PDT
Created attachment 349732 [details]
WIP
Comment 48 Myles C. Maxfield 2018-09-13 22:12:34 PDT
Created attachment 349734 [details]
WIP
Comment 49 Myles C. Maxfield 2018-09-13 23:24:29 PDT
Created attachment 349737 [details]
Need to figure out how ligatures should work
Comment 50 Myles C. Maxfield 2018-09-13 23:32:31 PDT
Created attachment 349739 [details]
Need to figure out how ligatures should work
Comment 51 Myles C. Maxfield 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.
Comment 52 Myles C. Maxfield 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
Comment 53 Myles C. Maxfield 2021-08-13 16:27:49 PDT
Created attachment 435525 [details]
Patch
Comment 54 Myles C. Maxfield 2021-08-13 16:31:03 PDT
Lots of test failures :(
Comment 55 Myles C. Maxfield 2021-08-13 17:06:26 PDT
Created attachment 435528 [details]
Patch
Comment 56 Myles C. Maxfield 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
Comment 57 Myles C. Maxfield 2021-08-21 22:51:02 PDT
Created attachment 436111 [details]
Patch
Comment 58 Myles C. Maxfield 2021-08-22 14:10:26 PDT
Created attachment 436125 [details]
Patch
Comment 59 Myles C. Maxfield 2021-08-22 15:25:46 PDT
Created attachment 436127 [details]
Patch
Comment 60 Myles C. Maxfield 2021-08-22 15:37:36 PDT
fonts/cursive.html is a progression
Comment 61 Myles C. Maxfield 2021-08-22 15:48:43 PDT
Created attachment 436132 [details]
Patch
Comment 62 Myles C. Maxfield 2021-08-22 15:58:06 PDT
Created attachment 436134 [details]
Patch
Comment 63 Myles C. Maxfield 2021-08-22 16:53:46 PDT
Created attachment 436141 [details]
Patch
Comment 64 Myles C. Maxfield 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.
Comment 65 Myles C. Maxfield 2021-08-22 22:58:08 PDT
Created attachment 436150 [details]
Patch
Comment 66 Myles C. Maxfield 2021-08-22 23:17:59 PDT
Created attachment 436152 [details]
Patch
Comment 67 Myles C. Maxfield 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.
Comment 68 Myles C. Maxfield 2021-08-23 11:53:53 PDT
Created attachment 436216 [details]
Will be some red because bug 229391 isn't landed yet
Comment 69 Myles C. Maxfield 2021-08-26 20:59:51 PDT
Created attachment 436607 [details]
Patch for committing
Comment 70 EWS 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].