liblinebreak

Line breaking algorithm implementation
Download

liblinebreak Ranking & Summary

Advertisement

  • Rating:
  • License:
  • zlib/libpng License
  • Price:
  • FREE
  • Publisher Name:
  • Wu Yongwei and Ming Bai
  • Publisher web site:

liblinebreak Tags


liblinebreak Description

Line breaking algorithm implementation liblinebreak is a library that comes as an implementation of the line breaking algorithm as described in Unicode 5.2.0 Standard Annex 14, Revision 24. It breaks lines that contain Unicode characters. It is designed to be used in a generic text renderer. FBReader is one real-world example, and you may also check some simple sample code, like showbreak and breaktext.Installation:There are three ways to build the library: 1. On *NIX systems supported by the autoconfiscation tools, do the normal ./configure make sudo make install to build and install both the dynamic and static libraries. In addition, one may * type ‘make doc’ to generate the doxygen documentation; or * type ‘make linebreakdata’ to regenerate linebreakdata.c from LineBreak.txt. 2. On systems where GCC and Binutils are supported, one can type cp -p Makefile.gcc Makefile make to build the static library. In addition, one may * type ‘make debug’ or ‘make release’ to explicitly generate the debug or release build; * type ‘make doc’ to generate the doxygen documentation; or * type ‘make linebreakdata’ to regenerate linebreakdata.c from LineBreak.txt. 3. On Windows, apart from using method 1 (Cygwin/MSYS) and method 2 (MinGW), MSVC can also be used. Type nmake -f Makefile.msvc to build the static library. By default the debug release is built. To build the release version nmake -f Makefile.msvc CFG="linebreak - Win32 Release"


liblinebreak Related Software