mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-28 04:06:54 -06:00
Text set in Spanish was not hyphenated at all. It now uses Javier Bezos's Liang patterns, hyph-es.tex 5.0 from hyph-utf8 under MIT, through the hypher crate 0.1.8 with only its alloc and spanish features. The full feature, which embeds 48 languages under several licences, stays off. - hyphen::Lang names the hyphenator for a run: English, or a hypher language. Lang::for_language maps a language name or locale code. - word_breaks_in and hyphen_points_in take the language. word_breaks and hyphen_points stay as the English entry points. - Composition hyphenates a non-English run whose language has patterns and skips the rest. The word cache key includes the language. - NOTICE carries the Bezos copyright line and the MIT text. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>