Files
harfbuzz/test
Skef IterumandClaude Sonnet 4.6 adf1f8e7c5 [depend] Refactor hb-depend-closure-parity.cc for readability
- Add `rng_prob_hit()` helper to replace three repeated injection-check
  patterns, each of which was 4–6 lines of std::uniform_real_distribution
  boilerplate.
- Add `depend_closure_ctx_t` struct to group the parameters that were
  threaded individually through `process_edges_for_tables` (10 params)
  and `compute_depend_closure` (9 params); both now take 2–3 params.
- Remove dead `vs_to_gid` map that was created, passed through three
  call layers, and never read.
- Fix GSUB-stage indentation in `compute_depend_closure`: the old code
  had a spurious outer `{ }` block containing all five table stages,
  with the `if (!skip_gsub)` body indented at the wrong level.
- Move `ligature_set_glyphs` into the GSUB stage block where it belongs.

No behaviour change; all tests pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 15:09:12 -07:00
..