shape method
Implementation
TextShapeResult shape(
String text,
List<TextRun> runs, {
TextDirection? direction,
}) {
if (_fallbackFontsEnabled != _fallbackFontsActuallyEnabled) {
if (_fallbackFontsEnabled) {
enableFallbackFonts();
} else {
disableFallbackFonts();
}
_fallbackFontsActuallyEnabled = _fallbackFontsEnabled;
}
return computeShape(
text.runes.toList(),
runs,
direction: direction,
);
}