Skip to content

Build hb-subset as part of engine builds and upload to cloud storage #43642

@dnfield

Description

@dnfield

Parent issue: #16311

hb-subset provides functionality to pull glyphs out of a font and create a new, smaller font file. We should update the engine build recipes to add a target for hb-subset if one doesn't already exist, build it, and upload it to cloud storage for consumption by the framework tooling.

Once this is done, we can update the tooling to consume this package and use it to shrink down the Material and Cupertino icon fonts at build time.

/cc @willlarche

Metadata

Metadata

Assignees

Labels

a: sizeReducing IPA/APK/JS sizesa: typographyText rendering, possibly libtxtc: performanceRelates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.f: cupertinoflutter/packages/flutter/cupertino repositoryf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.perf: app sizePerformance issues related to app size (binary/code size) or disk space

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions