-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesa: typographyText rendering, possibly libtxtText rendering, possibly libtxtdependency: skiaSkia team may need to help usSkia team may need to help use: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for WebCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webperf: app sizePerformance issues related to app size (binary/code size) or disk spacePerformance issues related to app size (binary/code size) or disk spaceplatform-webWeb applications specificallyWeb applications specifically
Description
The goal here is to remove ICU data from the CanvasKit wasm bundle (~500kb gzipped).
Right now, SkParagraph
depends on ICU data to do things like line breaks, bidi regions, grapheme and word boundaries. Instead, we propose that the flutter web engine supply all the necessary bits such that ICU isn't needed anymore.
To get there, we will be using the following:
Intl.Segmenter
for grapheme and word boundaries.v8BreakIterator
for line breaks on Chrome (and our own implementation for other browsers).- Our own implementation for Bidi regions.
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesa: typographyText rendering, possibly libtxtText rendering, possibly libtxtdependency: skiaSkia team may need to help usSkia team may need to help use: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for WebCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webperf: app sizePerformance issues related to app size (binary/code size) or disk spacePerformance issues related to app size (binary/code size) or disk spaceplatform-webWeb applications specificallyWeb applications specifically