This page is about the Paragraph Layout library that is available in ICU4C/C++.
For information about the deprecated Line Layout Engine, including its deprecation notice, see: Layout Engine.
While the ICU LayoutEngine is deprecated as of ICU 54, the ICU *Paragraph *Layout library is not. The Paragraph Layout library must now be built using the HarfBuzz engine instead of the ICU LayoutEngine.
The following steps must be completed in order:
--disable-layoutexswitches passed to configure
pkg-config --modversion icu-le-hbshould return a version, such as “0.0.0” )
--enable-layoutexswitches passed to configure
make installJUST in the
source/layoutexdirectory, to install libiculx and
The above steps will produce a libiculx library that depends on HarfBuzz.
If pkg-config visible installation is not suitable for step 4, you may also manually set the following variables when building ICU in step 5:
ICULEHB_CFLAGSto the appropriate include path for icu-le-hb ( such as
ICULEHB_LIBSto link against icu-le-hb and dependents as needed (such as