[Top][All Lists]

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

Re: [ft-devel] harfbuzz dependencies for FT 2.10.0

From: Werner LEMBERG
Subject: Re: [ft-devel] harfbuzz dependencies for FT 2.10.0
Date: Sat, 30 Mar 2019 12:54:00 +0100 (CET)

> 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.

This looks like another bug in the cmake support.  Please file a bug
report so that it won't be forgotten.


reply via email to

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