[VarC] Fix coord setting

Those are additive.
This commit is contained in:
Behdad Esfahbod 2022-12-12 11:37:59 -07:00
parent d36a0f8c42
commit 80a5011eb6
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ struct VarCompositeGlyphRecord
unsigned axis_index = axis_width == 1 ? *p++ : *q++; unsigned axis_index = axis_width == 1 ? *p++ : *q++;
signed v = axis_points[i].x; signed v = axis_points[i].x;
v = hb_clamp (v, -(1<<14), (1<<14)); v = hb_clamp (v, -(1<<14), (1<<14));
setter[axis_index] = v; setter[axis_index] += v;
} }
} }