Hyphenate web pages with Hyphenator.js

hyphenator – Project Hosting on Google Code

Hyphenator.js …

* automatically hyphenates texts on websites if either the webdeveloper has included the script on the website or you use it as a bookmarklet on any site.
* runs on any modern browser that supports JavaScript and the soft hyphen (­).
* automatically breaks URLs on any browser that supports the zero width space.
* runs on the client in order that the HTML source of the website may be served clean and svelte and that it can respond to text resizings by the user.
* follows the ideas of unobtrusive JavaScript.
* has a documented API and is highly configurable to meet your needs.
* supports a wide range of languages.
* relies on Franklin M. Liangs hyphenation algorithm (PDF) commonly known from LaTeX and OpenOffice.
* is free software licensed under LGPL v3 with additional permission to distribute non-source (e.g., minimized or compacted) forms of that code (see source code header for details).
* provides services for customizing, merging and packing script and patterns.

Hyphenator.js does …

* not give you control over how many hyphens you’ll have as endings on consecutive lines.
* not eliminate misleading hyphenation like ‘leg-ends’ (depending on the pattern quality).
* not work in Firefox 2 (but it works fine in Firefox >=3.0)
* not handle special (aka non-standard) hyphenation (e.g. omaatje->oma-tje)

Advertisements

~ by WPA Staff on September 9, 2010.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: