From 2b6a65671b85eae961f1d39ca09c4bcf6ccde580 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 27 Sep 2024 10:57:40 -0600 Subject: [PATCH] [HVAC] Fix bug Renders correctly now. --- src/hb-ot-var-hvac-table.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-var-hvac-table.hh b/src/hb-ot-var-hvac-table.hh index 5bd6258e6..f64894273 100644 --- a/src/hb-ot-var-hvac-table.hh +++ b/src/hb-ot-var-hvac-table.hh @@ -97,7 +97,7 @@ struct GlyphVariationDeltas const SparseVarRegionList &varRegionList) const { const HBUINT8 *p = deltaSets; - for (unsigned i = 0; i < deltasCount; i++) + for (unsigned i = 0; i < deltaSetCount; i++) { const GlyphVariationDelta &delta = StructAtOffsetUnaligned (p, 0); @@ -114,7 +114,7 @@ struct GlyphVariationDeltas return_trace (false); const HBUINT8 *p = deltaSets; - for (unsigned i = 0; i < deltasCount; i++) + for (unsigned i = 0; i < deltaSetCount; i++) { const GlyphVariationDelta &delta = StructAtOffsetUnaligned (p, 0);