mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 00:59:16 +01:00
Legacy FeatureVariationRecords forced non-axis conditions to false when choosing the new default features. Their empty range maps also compared equal, discarding distinct conditional records during partial instancing. Evaluate value and boolean conditions against the original GDEF store at the new default, classify their surviving ranges conservatively, and avoid range-only deduplication for complex conditions. Reuse the lookup condition serializer to fold pinned axes and remap variation indices. Materialize a false condition rather than emitting a null (true) offset. Remove the unused condition-subset TODO stubs. Add GSUB/GPOS coverage with 75 full/partial-instancing comparisons of glyph selection and advances, covering formats 2-5 and null children. Testing: meson test -C build (281 passed, 1 skipped); C++11 reduced- feature syntax checks with HB_NO_VAR, HB_NO_BEYOND_64K, HB_NO_CUBIC_GLYF. Assisted-by: OpenAI Codex <noreply@openai.com>