My software
libhyphenate

March 24 2008

libhyphenate v1.1 released

Filed under: libhyphenateThiton at 01:54

I proudly present you the version 1.1 of libhyphenate. UTF-8 characters are now handled correctly and some bugs were purged. Unfortunately, I had to add glib-2.0 dependence to enable the UTF-8 handling.

On the functionality side, a lot happened: The libhyphenate not only correctly hyphenates whole texts instead of single words, but can also determine the best hyphenation point to fit the text into a given width - just what you need to implement fixed-width columns.

Download source tarball of current version

Download source tarball of version 1.1

XHTML hyphenator 1.1 released

Filed under: libhyphenateThiton at 01:52

Thanks to Adiel Mittmann for patching bugs in the XHTML Hyphenator, which will not choke on documents containing DTDs anymore and won't leak memory now.

Download source tarball of current version

Download source tarball of version 1.1

March 15 2008

xhtml_hyphenate: An hyphenation program for XHTML documents

Filed under: libhyphenateThiton at 16:24

As an example for real-world usage of libhyphenate, I proudly present you the XHTML hyphenator. By scrutinizing the xml:lang tag present in XML documents, it hyphenates all non-header text nodes of an XHTML document with standard UTF-8 soft hyphens, which are used by all standard browsers except Mozilla Firefox as hyphenation hints. Firefox ignores them completely, so no harm is done.

Download the source tarball of the current version

Download the source tarball of version 1.0

March 11 2008

libhyphenate: A general purpose hyphenation library

Filed under: libhyphenateThiton at 21:27

I'm proud to present you a library implementing Liangs hyphenation algorithm (yes, the one used in TeX) for C and C++. It is delivered together with hyphenation files for U.S. English, German, French and Spanish, and more hyphenation files are easy to compile from those included in TeX.

In version 1.0, the problems that arised with the improper handling of UTF-8 files in german-language texts were resolved.

Download source tarball of current version

Download source tarball of version 1.0

Valid XHTML Strict 1.0 Valid Atom Design by Northern Web Coders