AvailableFonts
Part of wslib
a simple class holding the names of all currently available fonts as Symbols. They are checked at startup.
Use it as a cache; saves speed when you want to know the available fonts more then once.
Used by SVGText
use
AvailableFonts.includes ( font )
returns true if a font is available
AvailableFonts.includes( Font( "Helvetica", 12 ) );
AvailableFonts.includes( Font( "ANonExistingFontName", 12 ) );
AvailableFonts.includes( "Monaco" ); // works also if you only enter a name