Liblinebreak is an implementation of the line and word breaking algorithm as described in Unicode 5.1.0 Standard Annex 14, Revision 22. It breaks lines that contain Unicode characters. It is designed to be used in a generic text renderer. FBReader is one real-world example.