You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Soft hyphens (­) are supported, so some of the work has been done, but automatic hyphenation will take building a string trie (or something similar) from a dictionary. I was dreading doing that for each language, but we could start with just English. There are also ML-based approaches that are pretty accurate and might have a lower file size, but that would be a lot more for me to learn at least.
In the mean time you could use hypher to hyphenate text (it inserts ­) before rendering. It works more or less okay and supports different languages.
Activity
chearon commentedon May 18, 2024
Soft hyphens (
­) are supported, so some of the work has been done, but automatic hyphenation will take building a string trie (or something similar) from a dictionary. I was dreading doing that for each language, but we could start with just English. There are also ML-based approaches that are pretty accurate and might have a lower file size, but that would be a lot more for me to learn at least.pixelspark commentedon May 18, 2024
In the mean time you could use hypher to hyphenate text (it inserts
­) before rendering. It works more or less okay and supports different languages.