RESOLVED FIXED 234050
Move SystemFontDatabaseCoreText to FontCache
https://bugs.webkit.org/show_bug.cgi?id=234050
Summary Move SystemFontDatabaseCoreText to FontCache
Cameron McCormack (:heycam)
Reported 2021-12-08 18:19:34 PST
Move SystemFontDatabaseCoreText to FontCache
Attachments
Patch (14.63 KB, patch)
2021-12-08 18:20 PST, Cameron McCormack (:heycam)
mmaxfield: review+
Patch (13.74 KB, patch)
2022-07-21 15:18 PDT, Matt Woodrow
no flags
Cameron McCormack (:heycam)
Comment 1 2021-12-08 18:20:48 PST
Myles C. Maxfield
Comment 2 2021-12-10 15:14:12 PST
Comment on attachment 446470 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446470&action=review > Source/WebCore/platform/graphics/FontCache.h:226 > + SystemFontDatabaseCoreText m_systemFontDatabaseCoreText; Is this going to compile on the non-Apple ports? > Source/WebCore/platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp:257 > + result.fontName = AtomString("system-ui", AtomString::ConstructFromLiteral); Don't we have a suffix that does this? Like "system-ui"_as or something?
Cameron McCormack (:heycam)
Comment 3 2021-12-10 15:28:06 PST
(In reply to Myles C. Maxfield from comment #2) > > Source/WebCore/platform/graphics/FontCache.h:226 > > + SystemFontDatabaseCoreText m_systemFontDatabaseCoreText; > > Is this going to compile on the non-Apple ports? It's in an existing #ifdef, just outside the patch context limit. > > Source/WebCore/platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp:257 > > + result.fontName = AtomString("system-ui", AtomString::ConstructFromLiteral); > > Don't we have a suffix that does this? Like "system-ui"_as or something? We do.
Radar WebKit Bug Importer
Comment 4 2021-12-15 18:21:24 PST
Matt Woodrow
Comment 5 2022-07-21 15:18:23 PDT
EWS
Comment 6 2022-07-24 15:39:09 PDT
Committed 252770@main (c7d95cf25d9d): <https://commits.webkit.org/252770@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 461125 [details].
Note You need to log in before you can comment on or make changes to this bug.