mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 22:33:08 +00:00
A run whose language is German, Polish, Portuguese or Italian (any region) now breaks at that language's hyph-utf8 patterns from craft-proof, and a Bulgarian, Turkish or Russian run at that language's syllable rules. The paragraph's Hyphenation options and the Preferences exceptions apply as before, and points that would split a grapheme are dropped. For Bulgarian, Turkish and Russian, craft-proof hyphenates a word outside the language's script as English. For German, Polish, Portuguese and Italian it can also return points from its own heuristics. Those points are refused, so a word outside its language's script stays whole. German, Polish, Portuguese and Italian need craft-proof built with CRAFT_I18N_DIR; without it they keep today's behavior. Other languages, English and the eleven Indian languages are unchanged.