[HVAC] Fix bug

Renders correctly now.
This commit is contained in:
Behdad Esfahbod 2024-09-27 10:57:40 -06:00
parent 1cf7d9d0b0
commit 2b6a65671b

View file

@ -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<const GlyphVariationDelta> (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<const GlyphVariationDelta> (p, 0);