Commit 9abaf193d3ab59bfe17e6afc4024a5a6ca36c04f

Khaled Hosny 2025-03-07T02:53:43

[directwrite] Fix applying features to directwrite shaper The range_features was ending up with random data because hb_ms_make_feature_ranges() keeps pointers to data allocated in feature_records and range_records, but that data was getting freed before range_features was used. Change the variable scope to avoid freeing the data too early. Fixes https://github.com/harfbuzz/harfbuzz/issues/5113