Skip to main content

font_subset 0.2.1 copy "font_subset: ^0.2.1" to clipboard
font_subset: ^0.2.1 copied to clipboard

Builds or fetches the Flutter font-subset binary for Linux, macOS, and Windows and provides a Dart API for subsetting TTF/OTF fonts.

0.2.1 #

  • Remove redundant BuildModeEnum.build alias so BuildModeEnum strictly has fetch, checkout, and local (with optional checkoutPath).
  • Use package:crypto for SHA-256 checksum verification.

0.2.0 #

  • Remove checked-in binaries from the package archive; instead build font-subset from bundled C++/HarfBuzz sources via CMake or fetch SHA-256 verified prebuilt binaries from GitHub Releases.
  • Add hook/build.dart and BuildOptions supporting fetch, checkout, and local build modes via hooks.user_defines.font_subset or FONT_SUBSET_BUILD_MODE.
  • Add tool/precompile_binaries.dart, tool/regenerate_hashes.dart, tool/bump-harfbuzz-revision.sh, and GitHub Actions CI & release workflows.

0.1.0 #

  • Initial release with Dart wrapper API (subsetFont, fontSubsetExecutable, isSupportedFontFile).
1
likes
150
points
118
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Builds or fetches the Flutter font-subset binary for Linux, macOS, and Windows and provides a Dart API for subsetting TTF/OTF fonts.

Repository (GitHub)
View/report issues

Topics

#fonts #flutter #hooks

License

BSD-3-Clause (license)

Dependencies

code_assets, crypto, data_assets, hooks, mime

More

Packages that depend on font_subset