font_face_observer library

Classes

FontFaceObserver
A FontFaceObserver is responsible for loading and detecting when a font has been successfully loaded into the browser and is ready for use in the DOM or drawn into a canvas. If you need to load fonts with an authenticated request, you can handle the networking part yourself and then still use FontFaceObserver to detect when it is ready by passing in the font as a base64 data or Blob URI.
FontLoadResult
A simple immutable container object for font load result data.

Constants

fontFaceObserverTempClassname → const String
The CSS class name to add to temporary DOM nodes when detecting font load.