Function: subscribeFontChanges()
ts
function subscribeFontChanges(listener): () => void;Experimental
Subscribe to font changes (registrations, CSS font faces finishing loading). Used by the default font metrics oracle to drop measurements taken with a fallback font. Returns an unsubscribe.
Parameters
| Parameter | Type |
|---|---|
listener | () => void |
Returns
() => void