You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that in current implementation refresh won’t be triggered when a font is loaded, and elements’ resize caused by the font load won’t be detected.
Is this assumption correct, and if so do you plan to add a support for it?
The text was updated successfully, but these errors were encountered:
FYI: I needed that event in another project. We need browser support for that, which is not polyfillable. Here with typescript annotations:
// register event for loading new font filesconstfontFaceSet: EventTarget=(documentasany).fonts;if(fontFaceSet&&fontFaceSet.addEventListener){fontFaceSet.addEventListener('loadingdone',()=>{// layout / glyphs could have been changed});}else{// no fallback is possible without this API as a font files download can be triggered// at any time when a new glyph is rendered on screen}
It appears that in current implementation refresh won’t be triggered when a font is loaded, and elements’ resize caused by the font load won’t be detected.
Is this assumption correct, and if so do you plan to add a support for it?
The text was updated successfully, but these errors were encountered: