I have ICU, but ICU has --disable-layout set. HB found ICU but not ICULE. However, the hb-icu-le still looks for Layout/LETypes.h: make[4]: Entering directory `/usr/local/src/harfbuzz/src/hb-icu-le' CXX libhb_icu_le_la-FontTableCache.lo FontTableCache.cpp:8:28: fatal error: layout/LETypes.h: No such file or directory
How can I detect whether layout is available using icu-config?
use pkg-config and look for icu-uc ( has the core unicode properties) versus icu-le ( layout engine ). not sure there's a way directly with icu-config - but you could test whether layout/LETypes.h was includeable even with icu-config's provided search path.
(In reply to comment #2) > use pkg-config and look for icu-uc ( has the core unicode properties) versus > icu-le ( layout engine ). > > not sure there's a way directly with icu-config - but you could test > whether layout/LETypes.h was includeable even with icu-config's provided > search path. Ok. As it happens I'm working on the build system today.
Fixed in master. In fact, disable icu_le shaper for now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.