Hello,

compiling freetype with harfbuzz requires in src/autofit/afscript.h:35:         
 HB_SCRIPT_ADLAM.

HB_SCRIPT_ADLAM was introduced in harfbuzz 1.3.0, so the build system (cmake) 
is supposed to check, whether harfbuzz >=
1.3.0 is installed, in order to enable FT_WITH_HARFBUZZ.

If I switch FT_WITH_HARFBUZZ off, and move include/harfbuzz to 
include/harfbuzz.bak, make fails with

In file included from /src/freetype-2.10.0/src/autofit/afglobal.h:26,
                 from /src/freetype-2.10.0/src/autofit/afcjk.c:29,
                 from /src/freetype-2.10.0/src/autofit/autofit.c:24:
/src/freetype-2.10.0/src/autofit/afshaper.h:29:10: fatal error: hb.h: No such 
file or directory
 #include <hb.h>
          ^~~~~~

So it seems HARFBUZZ is not optional, but required and in this case there is no 
need for the option FT_WITH_HARFBUZZ.

Regards
  Дилян


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to