Bug 271396

Summary: [Skia] Create the font manager on demand when first needed
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: PlatformAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 268972    

Carlos Garcia Campos
Reported 2024-03-21 10:25:09 PDT
We are creating the font manager in FontCache::platformInit(), but that's only called once for all the instances. This makes all offscreen canvas tests rendering text to crash, because the FontCache in the worker thread doesn't have a font manager.
Attachments
Carlos Garcia Campos
Comment 1 2024-03-21 10:33:43 PDT
EWS
Comment 2 2024-03-21 12:01:15 PDT
Committed 276483@main (82bbfe731a36): <https://commits.webkit.org/276483@main> Reviewed commits have been landed. Closing PR #26252 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-03-21 12:02:15 PDT
Note You need to log in before you can comment on or make changes to this bug.