{: .no_toc }
{: .no_toc .text-delta }
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-layout --disable-layoutex switches passed to configurepkg-config --modversion icu-le-hb should return a version, such as “0.0.0” )--enable-layoutex switches passed to configuremake install JUST in the source/layoutex directory, to install libiculx and icu-lx.pcThe 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_CFLAGS to the appropriate include path for icu-le-hb ( such as -I/usr/local/include/icu-le-hb )ICULEHB_LIBS to link against icu-le-hb and dependents as needed (such as -L/usr/local/lib -licu-le-hb )