flutter_hyphenation 1.0.1
flutter_hyphenation: ^1.0.1 copied to clipboard
HyphenText, a drop-in replacement for Flutter's Text that hyphenates long words correctly using TeX hyphenation patterns.
Changelog #
1.0.1 #
- The LICENSE file is now the plain MIT text so pub.flutter-io.cn recognizes it; the
pattern-file notices moved to
NOTICE.md. - The package ships a runnable
example/Flutter app.
1.0.0 #
Initial release.
HyphenText, a drop-in replacement forTextthat hyphenates long words using TeX hyphenation patterns, andHyphenParagraph, the render object behind it.HyphenScope, providing a hyphenator to a subtree, andHyphenationRegistry, holding app-wide pattern sets keyed by locale.HyphenatorAsset.fromAsset, loading and compiling a hyphenator from the asset bundle.- An asset transformer entry point that rewrites a pattern file as nothing but its pattern groups, so the TeX prose never reaches the app bundle.
- Broken lines are memoised per width, style, scaler, strut, direction and locale on the shared hyphenator.