Bug 252283 - FontCache invalidation callback should be called on worker FontCaches too
Summary: FontCache invalidation callback should be called on worker FontCaches too
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-14 19:37 PST by Cameron McCormack (:heycam)
Modified: 2023-02-21 19:38 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron McCormack (:heycam) 2023-02-14 19:37:11 PST
We currently only call the FontCache invalidation callback on the main thread FontCache.  I think this means that when the font environment changes and a worker thread canvas has a font selected, we won't update the font in response.
Comment 1 Cameron McCormack (:heycam) 2023-02-14 19:37:49 PST
See FontCache::invalidateAllFontCaches.
Comment 2 Radar WebKit Bug Importer 2023-02-21 19:38:18 PST
<rdar://problem/105759309>