Bug 251892 - CachedFont objects gets created for every 'src' attribute in @font-face rules, even if they're never loaded.
Summary: CachedFont objects gets created for every 'src' attribute in @font-face rules...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-07 16:21 PST by Matt Woodrow
Modified: 2023-02-07 16:23 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Woodrow 2023-02-07 16:21:50 PST
The combination of CachedFont, CachedFontLoadRequest and CSSFontFaceSource add up to a significant chunk of memory, which is largely unneeded until we actually load the fonts.

<rdar://104940966>
Comment 1 Matt Woodrow 2023-02-07 16:23:00 PST
Pull request: https://github.com/WebKit/WebKit/pull/9787