summaryrefslogtreecommitdiff
path: root/LICENSE.TXT
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-01-02 20:13:22 -0500
committerWerner Lemberg <wl@gnu.org>2023-01-06 12:54:17 +0100
commitebe7e9128cdf81cb0a0d27fe293ecff96f6c98a8 (patch)
tree7cc9942de2da0e5ba24e58ac143c37c821ea6fc1 /LICENSE.TXT
parent262b47ac5a8cd96ebb4ac1584f92e9472f24f16b (diff)
downloadfreetype2-ebe7e9128cdf81cb0a0d27fe293ecff96f6c98a8.tar.gz
[autofit] Don't depend on 'hb-ft'.
The circular dependency is still there, but at least we no longer depend on the HarfBuzz API that is only present if HarfBuzz has been built with FreeType support, making the bootstrapping a bit easier. * src/autofit/ft-hb.c, src/autofit/ft-hb.h: New files, providing `_hb_ft_font_create`, which is more or less a verbatim copy of the corresponding HarfBuzz code from file `hb-ft.cc`. * src/autofit/afglobal.c (af_face_globals_new): Use it. * src/autofit/afshaper.h: Don't include `hb-ft.h` but `ft-hb.h`. * src/autofit/autofit.c: Include `ft-hb.c`. * LICENSE.TXT: Updated.
Diffstat (limited to 'LICENSE.TXT')
-rw-r--r--LICENSE.TXT4
1 files changed, 4 insertions, 0 deletions
diff --git a/LICENSE.TXT b/LICENSE.TXT
index ca0bff819..8b9ce9e2e 100644
--- a/LICENSE.TXT
+++ b/LICENSE.TXT
@@ -35,6 +35,10 @@ in earlier FreeType versions.
The gzip module uses the zlib license (see `src/gzip/zlib.h`) which
too is compatible to the above two licenses.
+The files `src/autofit/ft-hb.c` and `src/autofit/ft-hb.h` contain code
+taken almost verbatim from the HarfBuzz file `hb-ft.cc`, which uses
+the 'Old MIT' license, compatible to the above two licenses.
+
The MD5 checksum support (only used for debugging in development
builds) is in the public domain.