[VarComposite] Minor use pad instead of StructAfter

This commit is contained in:
Behdad Esfahbod 2023-05-01 15:54:06 -06:00
parent 1b74cd7c2d
commit 19d8328b63

View file

@ -224,7 +224,7 @@ struct VarCompositeGlyphRecord
const F2DOT14 *q = (const F2DOT14 *) (axes_size +
(fl & GID_IS_24BIT ? 3 : 2) +
&StructAfter<const HBUINT8> (numAxes));
(const HBUINT8 *) &pad);
unsigned count = num_axes;
if (fl & AXES_HAVE_VARIATION)