««« | »»»
links for 2010-09-08
-
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. -
The vast majority of books and magazines are typeset using hyphenation and justification (written as H&J from here on in). All lines of text except the last lines of paragraphs are stretched out to the same length. Flush left and flush right. Hyphens are used to break words at the end of lines to help prevent gaps in word spacing. Like this:
In contrast, nearly all text on the web is set flush left, with no hyphens at the end of lines. (This assumes a left-to-right Latinate language like English.) In the world of print, this is sometimes called “ragged right” or a “hard rag” because of the sawtoothed edge created on the right by the uneven line lengths.
This no longer needs to continue as it has. And if the many criticisms of iPad typography are any guide, for many design niches like eBooks, it shouldn’t continue if customer expectations are to be met.
-
XAuth is a way to share third-party authentication information in the browser. Instead of every application needing to go through the authorization process for a service, XAuth is used to store this information in your browser and make it available to web developers. That means a site that can serve you a more relevant experience when you’re signed into Yahoo! doesn’t need to make any extra requests to determine if you’re signed in.
Although the goal of XAuth is to provide authentication services, this same basic technique can be applied to any data.
Per proseguire
Commenti e trackback sono disabilitati.