Bug 289265

Summary: Refactoring: Making FontCascadeFonts "free" of FontSelector
Product: WebKit Reporter: Vitor Roriz <vitor.roriz>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fantasai.bugs, vitor.roriz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Vitor Roriz
Reported 2025-03-06 11:01:55 PST
FontCascadeFonts is currently store in FontCascadeCache. FontCascadeFonts currently holds a RefPtr to its related FontSelector. In order to make it possible to share FontCascadeFont across documents (for specific simple cases) we need to make FontCascadeFont free of context.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-03-06 11:03:29 PST
Vitor Roriz
Comment 2 2025-03-06 11:04:43 PST
EWS
Comment 3 2025-03-06 16:32:08 PST
Committed 291745@main (9ab41908f1d8): <https://commits.webkit.org/291745@main> Reviewed commits have been landed. Closing PR #41984 and removing active labels.
EWS
Comment 4 2025-03-26 13:13:00 PDT
Committed 289651.332@safari-7621-branch (f4fac0a85def): <https://commits.webkit.org/289651.332@safari-7621-branch> Reviewed commits have been landed. Closing PR #2871 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.