check method
The check()
method of the FontFaceSet returns true
if you can render
some text using the given font specification without attempting to use any
fonts in this FontFaceSet
that are not yet fully loaded. This means you
can use the font specification without causing a
font swap.
Implementation
external bool check(
String font, [
String text,
]);