clearFontCache method

void clearFontCache()

When the set of font available to the system changes, call this method to clear cached state related to font rendering.

Implementation

void clearFontCache() {
  _cellSize = _measureCharSize();
  _paragraphCache.clear();
}