clearFontCache static method

void clearFontCache()

Empties the shared font cache. Tests that assert on load behaviour or measure cold timings call this first; ordinary rendering never needs to.

Implementation

static void clearFontCache() => _sharedFonts.clear();