mgeisler / textwrap

An efficient and powerful Rust library for word wrapping text.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for automatic hyphenation in Wasm demo

mgeisler opened this issue · comments

We can add a few dictionaries from https://github.com/tapeinosyne/hyphenation/tree/master/dictionaries and then download the dictionary at runtime. We just need to transport it to the draw_wrapped_text function.