[hb-config.hh] Tweak HB_TINY / HB_NO_DRAW / HB_NO_CFF relationship

Fixes https://github.com/harfbuzz/harfbuzz/issues/5955
This commit is contained in:
Behdad Esfahbod authored and Khaled Hosny committed 2026-04-22 00:30:35 +02:00
1 parent 14d1d035cc
commit 0091ae360e
1 file changed
+8 -1
+8 -1
View File
@@ -136,7 +136,7 @@
#endif
#ifdef HB_NO_DRAW
#define HB_NO_CFF
#define HB_NO_OT_FONT_CFF
#define HB_NO_OUTLINE
#define HB_NO_PAINT
#endif
@@ -188,6 +188,13 @@
#define HB_NO_OT_FONT_CMAP_CACHE
#endif
#if defined(HAVE_CONFIG_OVERRIDE_LAST_H) || defined(HB_CONFIG_OVERRIDE_LAST_H)
#ifndef HB_CONFIG_OVERRIDE_LAST_H
#define HB_CONFIG_OVERRIDE_LAST_H "config-override-last.h"
#endif
#include HB_CONFIG_OVERRIDE_LAST_H
#endif
#ifdef HB_OPTIMIZE_SIZE
#define HB_OPTIMIZE_SIZE_VAL 1
#else