News for hackers. Stuff that matters.
Re:Knuth and Plass line breaking algorithm in JavaScript by NathanKP on Monday December 06, 2010 @09:10AM (#1975168)
Does anyone know if there is a good jQuery plugin for this, or do I need to take the code from this demo and make my own plugin?
Re:Knuth and Plass line breaking algorithm in JavaScript by bramstein on Monday December 06, 2010 @09:23AM (#1975208)
As far as I know, this is the only implementation in JavaScript. It might be possible to turn this into a jQuery plugin at some point, but there are probably quite a couple of bugfixes and changes needed to turn this from a tech demo into a drop-in plugin.