From 7298716a3cfbdabedd15960404623317a64db3ae Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 26 Jun 2019 14:51:17 -0700 Subject: [PATCH] [config] Compile out modified combining-class if HB_NO_OT_SHAPE Part of https://github.com/harfbuzz/harfbuzz/issues/1652 --- src/hb-unicode.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-unicode.cc b/src/hb-unicode.cc index 56f1c62..be87759 100644 --- a/src/hb-unicode.cc +++ b/src/hb-unicode.cc @@ -453,6 +453,7 @@ hb_unicode_decompose_compatibility (hb_unicode_funcs_t *ufuncs, #endif +#ifndef HB_NO_OT_SHAPE /* See hb-unicode.hh for details. */ const uint8_t _hb_modified_combining_class[256] = @@ -565,6 +566,7 @@ _hb_modified_combining_class[256] = 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, /* HB_UNICODE_COMBINING_CLASS_INVALID */ }; +#endif /* -- 2.7.4