mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-29 17:44:06 +01:00
[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:
1 parent
d35cdadd2a
commit
7fe31859ca
1 file changed
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user