[config] Drop HB_NO_SUBSET_LAYOUT from HB_LEAN

HB_LEAN was dropping GSUB/GPOS out of the subset output,
which turns subsetting Arabic / Indic / any complex-script
font into a paperweight: the produced subset has no layout
so it can't shape the text it was subsetted for.  That's
not really "lean", that's broken for most non-Latin use.

Subset layout is load-bearing enough that it should stay in
any HB_LEAN / HB_TINY build.  Callers that truly don't want
it can still #define HB_NO_SUBSET_LAYOUT themselves.

meson test --no-rebuild is green (241/241).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Behdad EsfahbodandClaude Opus 4.6 committed 2026-04-15 12:48:05 -06:00
1 parent d35cdadd2a
commit 7fe31859ca
1 file changed
-1
-1
View File
@@ -78,7 +78,6 @@
#define HB_NO_OT_FONT_GLYPH_NAMES
#define HB_NO_SETLOCALE
#define HB_NO_STYLE
#define HB_NO_SUBSET_LAYOUT
#define HB_NO_VERTICAL
#define HB_NO_VAR