shape method

TextShapeResult shape(
  1. String text,
  2. List<TextRun> runs
)

Implementation

TextShapeResult shape(String text, List<TextRun> runs) {
  if (_fallbackFontsEnabled != _fallbackFontsActuallyEnabled) {
    if (_fallbackFontsEnabled) {
      enableFallbackFonts();
    } else {
      disableFallbackFonts();
    }
    _fallbackFontsActuallyEnabled = _fallbackFontsEnabled;
  }
  return computeShape(text, runs);
}