summaryrefslogtreecommitdiff
path: root/src/ftfont.h
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2018-06-05 12:13:35 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2018-12-10 00:08:50 +0200
commita2bea377c7d7fc39d664802aab7633d325b97927 (patch)
treeae890b6d9336f5c0425d87d379fef6cc604c6459 /src/ftfont.h
parentab93444cbbd06096cdf33a7a76d8e6ee6c37c04a (diff)
downloademacs-a2bea377c7d7fc39d664802aab7633d325b97927.tar.gz
First attempt at HarfBuzz shaping
Barely works, and unoptimized!
Diffstat (limited to 'src/ftfont.h')
-rw-r--r--src/ftfont.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ftfont.h b/src/ftfont.h
index 4201b2c2d67..d856c106183 100644
--- a/src/ftfont.h
+++ b/src/ftfont.h
@@ -29,6 +29,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include FT_BDF_H
#endif
+#ifdef HAVE_HARFBUZZ
+#include <hb.h>
+#include <hb-ft.h>
+#endif /* HAVE_HARFBUZZ */
+
#ifdef HAVE_LIBOTF
#include <otf.h>
#ifdef HAVE_M17N_FLT