Skip to main content

hyphenation 1.0.0 copy "hyphenation: ^1.0.0" to clipboard
hyphenation: ^1.0.0 copied to clipboard

Correct, fast TeX-pattern hyphenation for Dart: pattern compilation, word breaking and greedy line breaking, with no Flutter dependency.

Changelog #

1.0.0 #

Initial release.

  • Hyphenator, splitting words with a compiled TeX pattern set, with an LRU cache over the words it has already seen.
  • Hyphenator.fromSource and TexHyphenationPatterns, compiling pattern file text into a trie held in flat typed arrays and shareable between hyphenators.
  • HyphenLineBreaker, greedy width-aware line breaking driven by a caller supplied measurement function.
  • DanglingWords, an allocation-free probe table of words to keep with the word that follows them.
  • minifyTexPatterns, stripping a pattern file down to its \patterns and \hyphenation groups.
0
likes
0
points
3.03k
downloads

Publisher

verified publisherarxdeus.dev

Weekly Downloads

Correct, fast TeX-pattern hyphenation for Dart: pattern compilation, word breaking and greedy line breaking, with no Flutter dependency.

Homepage
Repository (GitHub)
View/report issues

Topics

#text #typography #hyphenation

License

unknown (license)

Dependencies

characters, meta

More

Packages that depend on hyphenation