27 ms·
http://code.google.com/p/hyphenator/ http://code.google.com/p/hyphenator/ And example in action http://www.bramstein.com/projects/typeset/flatland/ http://www.
by bane 16y ago
http://code.google.com/p/hyphenator/ http://code.google.com/p/hyphenator/
And example in action http://www.bramstein.com/projects/typeset/flatland/ http://www.bramstein.com/projects/typeset/flatland/
- bramstein 16y agoThanks for the reference. I have also recently released my own JavaScript hyphenation engine: https://github.com/bramstein/Hypher https://github.com/bramstein/Hypher It is quite small and fast, and mostly aimed at integration with other libraries, unlike Hyphenator.js (which comes with a partial DOM library.) An example integration can be seen in the Treesaver library (https://github.com/bramstein/treesaver/tree/hyphenation https://github.com/bramstein/treesaver/tree/hyphenation) where it is used to hyphenate magazine columns.