4 ms·
Flutter uses Skia for text rendering and layout; the same rendering engine used by Chrome, Android, and others. I'm beyond confident it can handle all of those
by wffurr 5y ago
Flutter uses Skia for text rendering and layout; the same rendering engine used by Chrome, Android, and others. I'm beyond confident it can handle all of those situations.
Flutter demos have a localization dropdown for selecting different locales, of which the gallery demo at least supports many, well beyond FIGS: https://gallery.flutter.dev/#/ https://gallery.flutter.dev/#/
Note those demos have other problems that make me crazy, like the copious overuse of non-selectable text. Why the default "Text" widget is non-selectable is a total mystery to me: https://api.flutter.dev/flutter/widgets/Text-class.html https://api.flutter.dev/flutter/widgets/Text-class.html You have to instead use the "SelectableText" widget: https://api.flutter.dev/flutter/material/SelectableText-class.html https://api.flutter.dev/flutter/material/SelectableText-clas...
I have plenty of complaints about Flutter, but accessibility and localization aren't among them.
- jhgb 5y agoExcept Skia is not a text renderer. Skia won't correctly position glyphs for you. It can only render glyphs for you at positions that you provide.
- wffurr 5y agoYour understanding of Skia may be out of date. See SkParagraph: https://skia.googlesource.com/skia/+/refs/heads/main/modules/skparagraph/include/Paragraph.h https://skia.googlesource.com/skia/+/refs/heads/main/modules... And the experimental SkText API: https://skia.googlesource.com/skia/+/refs/heads/main/experimental/sktext/include/SkText.md https://skia.googlesource.com/skia/+/refs/heads/main/experim...
- jhgb 5y agoIt's possible; I haven't looked at Skia for some time. As far as I can tell, in the past, https://skia.org/docs/user/tips/#does-skia-shape-text-kerning https://skia.org/docs/user/tips/#does-skia-shape-text-kernin... applied.