From c7675c44db3916bd45f059672df6c134aacebdfd Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 22 Mar 2018 16:19:23 +0100 Subject: Update Harfbuzz submodule to version 1.9.0. This release includes the auto-generated ragel files, so we don't need to use the Artifex branch anymore. --- Makethird | 21 ++++++++--- platform/win32/libthirdparty.vcproj | 72 ++++++++++++++++++++++++++----------- thirdparty/harfbuzz | 2 +- 3 files changed, 70 insertions(+), 25 deletions(-) diff --git a/Makethird b/Makethird index bf570880..9425ff3d 100644 --- a/Makethird +++ b/Makethird @@ -67,23 +67,28 @@ ifeq ($(USE_SYSTEM_HARFBUZZ),yes) THIRD_LIBS += $(SYS_HARFBUZZ_LIBS) else +THIRD_SRC += thirdparty/harfbuzz/src/hb-aat-layout.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-blob.cc -THIRD_SRC += thirdparty/harfbuzz/src/hb-buffer.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-buffer-serialize.cc +THIRD_SRC += thirdparty/harfbuzz/src/hb-buffer.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-common.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-face.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-fallback-shape.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-font.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ft.cc +THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-color.cc +THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-face.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-font.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-layout.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-map.cc +THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-math.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-default.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-hangul.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-hebrew.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-indic-table.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-indic.cc +THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-khmer.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-myanmar.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-thai.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-tibetan.cc @@ -93,10 +98,12 @@ THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-fallback.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-normalize.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-tag.cc +THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-var.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-set.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-shape-plan.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-shape.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-shaper.cc +THIRD_SRC += thirdparty/harfbuzz/src/hb-static.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-ucdn.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-unicode.cc THIRD_SRC += thirdparty/harfbuzz/src/hb-warning.cc @@ -104,13 +111,19 @@ THIRD_SRC += thirdparty/harfbuzz/src/hb-warning.cc THIRD_CFLAGS += -Ithirdparty/harfbuzz/src $(OUT)/thirdparty/harfbuzz/%.o: thirdparty/harfbuzz/%.cc - $(CXX_CMD) $(FREETYPE_CFLAGS) \ - -DHAVE_OT -DHAVE_UCDN -DHB_NO_MT \ + $(CXX_CMD) $(FREETYPE_CFLAGS) -Iinclude/mupdf \ + -DHAVE_FALLBACK=1 \ + -DHAVE_OT \ + -DHAVE_ROUND \ + -DHAVE_UCDN \ + -DHB_NO_MT \ -Dhb_malloc_impl=fz_hb_malloc \ -Dhb_calloc_impl=fz_hb_calloc \ -Dhb_free_impl=fz_hb_free \ -Dhb_realloc_impl=fz_hb_realloc \ - -fno-rtti -fno-exceptions -fvisibility-inlines-hidden + -fno-exceptions \ + -fno-rtti \ + -fvisibility-inlines-hidden endif diff --git a/platform/win32/libthirdparty.vcproj b/platform/win32/libthirdparty.vcproj index d7737624..fbdbd8fd 100644 --- a/platform/win32/libthirdparty.vcproj +++ b/platform/win32/libthirdparty.vcproj @@ -42,8 +42,8 @@ + + @@ -1563,6 +1567,18 @@ RelativePath="..\..\thirdparty\harfbuzz\src\hb-ft.cc" > + + + + + + @@ -1571,6 +1587,10 @@ RelativePath="..\..\thirdparty\harfbuzz\src\hb-ot-map.cc" > + + @@ -1595,6 +1615,10 @@ RelativePath="..\..\thirdparty\harfbuzz\src\hb-ot-shape-complex-indic.cc" > + + @@ -1631,6 +1655,10 @@ RelativePath="..\..\thirdparty\harfbuzz\src\hb-ot-tag.cc" > + + @@ -1647,6 +1675,10 @@ RelativePath="..\..\thirdparty\harfbuzz\src\hb-shaper.cc" > + + diff --git a/thirdparty/harfbuzz b/thirdparty/harfbuzz index 9fda4a5f..54d332dd 160000 --- a/thirdparty/harfbuzz +++ b/thirdparty/harfbuzz @@ -1 +1 @@ -Subproject commit 9fda4a5f7ad7f15f9426d8ce0703d91c2ea39d91 +Subproject commit 54d332dd9b0263821376161cdffb60ffb3c7847f -- cgit v1.2.3