davidar / TeX.js

TeXify: Typesetting for the Web
https://TeXify.davidar.io/
Apache License 2.0
47 stars 2 forks source link

Better text justification #6

Open davidar opened 9 years ago

davidar commented 9 years ago

Most browsers justify text with a dumb greedy algorithm, and stubbornly refuse to implement anything more intelligent. The typeset library by @bramstein implements Knuth-Plass linebreaking, but it isn't yet production-ready (demo). Also see ipfs/apps#5

michal-h21 commented 9 years ago

there is also Calzone, which unfortunately doesn't preserve formatting. I've forked it, removed jQuery dependency, so it is faster now and tried to preserve the formatting. It works sometimes, sometimes it fails. I am not DOM nor JS expert, so I don't really know what's the issue, maybe you might have better luck?

davidar commented 8 years ago

I am not DOM nor JS expert

Me either :/. I suspect this issue will have to wait until I'm able to convince a real web dev to look at it

CC: @dignifiedquire ;)

davidar commented 8 years ago