[config] Move HB_NO_CFF from HB_LEAN to HB_NO_DRAW closure

CFF parsing requires the draw infrastructure, so it belongs
in the HB_NO_DRAW closure rather than being unconditionally
disabled by HB_LEAN.  This allows HB_LEAN and HB_TINY builds
that re-enable draw (via config-override.h) to also get CFF
support without explicitly undefining HB_NO_CFF.

Assisted-by: Claude <noreply@anthropic.com>
This commit is contained in:
Behdad Esfahbod committed 2026-04-01 14:58:49 -06:00
1 parent a243dcb5c4
commit bd645e5573
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,6 @@
#define HB_NO_BUFFER_SERIALIZE
#define HB_NO_BUFFER_VERIFY
#define HB_NO_BITMAP
#define HB_NO_CFF
#define HB_NO_COLOR
#define HB_NO_DRAW
#define HB_NO_ERRNO
@@ -139,6 +138,7 @@
#endif
#ifdef HB_NO_DRAW
#define HB_NO_CFF
#define HB_NO_OUTLINE
#define HB_NO_PAINT
#endif