Closed flowchartsman closed 8 years ago
Is this simply related to the width of the word?
Yup. Words longer than 12 characters are broken up, as they are deemed to be too long to read accurately at speed.
Have you considered using a hyphenization algorithm? Would you accept a patch for it?
Sure, that'd be awesome. There was talk about using TeX's algorithm in #117 but nothing ever came of it. It would have to fallback gracefully if the language of the text doesn't fit the model, and if it ends up being a ton of code I probably won't put it in the bookmarklet, but otherwise go ahead. :+1:
Was gonna shoehorn this guy in. Seems fairly compact, and would only work on English initially: https://github.com/cuzzo/Hyphenator
sounds good, just couple it with some sensible english detection or make it an off-by-default option and I'll happily merge it in.
Is there a repo with the un-minimized code somewhere?
yeah the source files are in /modules
.
When reading this article I noticed there were dashes splitting words where they didn't appear in the document. "Under-graduate", for example. Wondering where this comes from, and whether or not something can be done to avoid it.