mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
With UVS (Unicode Variation Sequence) closure now handled directly via hb_font_get_variation_glyph() query API, the cmap depend extraction code is no longer needed. This commit removes all cmap-related depend code: Code removals: - src/hb-depend.cc: Remove get_cmap_dependencies() function - src/hb-depend.hh: Remove get_cmap_dependencies() declaration - src/hb-ot-cmap-table.hh: Remove 4 depend() methods (NonDefaultUVS, VariationSelectorRecord, CmapSubtableFormat14, cmap) Documentation updates: - docs/depend-api.md: Remove cmap from table list, add UVS note - docs/depend-for-closure.md: Update closure steps, reference impl notes - docs/depend-implementation.md: Update table list in Future Considerations The old cmap depend code only extracted format 14 (UVS) edges, so removing it does not affect fonts without UVS mappings. Testing: 153 fonts in test/api/fonts (10k iterations each), 10 fonts with UVS mappings (1M iterations each) - all pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>