Spotlight | Reviews | Current Issue | Newsletter | Subscribe | Contact |
Departments

user friendly

  linuxpromagazine.com » Online » News » LGPL Hyphenation Library  

Print this page. Recommend
Slashdot it! Delicious Digg

LGPL Hyphenation Library

Developer Steve Wolter has released Version 1.0 of Libhyphenate, his C++ hyphenation library, and has also written a sample application.

Libhyphenate implements the hyphenation algorithm also used by the Tex layout system, and is described in a thesis titled "Word Hy-phen-a-tion by Com-put-er" by Frank Liang. The library currently supports hyphenation libraries for English, German and French. More languages can be generated from the corresponding Tex files according to Wolter. The current release fixes issues with UTF 8 encoding in German texts that affected the previous version.

Wolter has also coded a small application based on his C++ library: XHTML Hyphenate, Version 1.0 of which was also released recently, supports hyphenation for XHTML documents. To do so, it adds the UTF 8 U+00AD separating character to text content (apart from titles) at hyphenation borders; this character is interpreted by many browser, but ignored by Firefox. The program parses the correct hyphenation locale from the "xml:lang" attribute.

XHTML Hyphenate is released under the GPL, and the Libhyphenate library under the LGPL. Both are available from the author’s homepage as source code archives.

(Mathias Huber)

Comments


Print this page. Recommend
Slashdot it! Delicious Digg
Wherever you go...

...Linux Magazine goes with you!

Check out the advantages of a Digital Subscription:

  • Access articles by downloading PDFs,
  • find the Linux solutions you need with an easy keyword search,
  • maintain your own paperless archive...

more...

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2008 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux-Nachrichten] [Linux Events]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland] [Darmowe Programy Poland] [Open Source DVD Poland] [Linux Magazin Romania]
International: [Linux Magazine Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]