In the Web Process, all Font instances from the same web font share the same underlying font data (via Font::CreationData). When we serialise fonts to the GPUP we serialise the font data each time, resulting in extra memory usage and time spent parsing the data each time. <rdar://106965215>
Pull request: https://github.com/WebKit/WebKit/pull/11987
Pull request: https://github.com/apple/WebKit/pull/502
Committed 262263@main (b917345920e9): <https://commits.webkit.org/262263@main> Reviewed commits have been landed. Closing PR #11987 and removing active labels.
Regressed: Bug 254708 – REGRESSION(262263@main) [Win] ASSERTION FAILED: !HashTranslator::equal(KeyTraits::emptyValue(), key) in font tests
Right; reverting via bug 254774.
Re-opening for pull request https://github.com/WebKit/WebKit/pull/12221
Committed 262435@main (403125028b31): <https://commits.webkit.org/262435@main> Reviewed commits have been landed. Closing PR #12221 and removing active labels.