freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] harfbuzz dependencies for FT 2.10.0


From: Дилян Палаузов
Subject: [ft-devel] harfbuzz dependencies for FT 2.10.0
Date: Sat, 30 Mar 2019 11:11:11 +0000
User-agent: Evolution 3.33.1

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
  Дилян




reply via email to

[Prev in Thread] Current Thread [Next in Thread]