diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index 8c63ad983..35889c712 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/src/hb-ot-layout-common-private.hh @@ -1265,7 +1265,6 @@ struct VarData const BYTE *bytes = &StructAfter (regionIndices); const BYTE *row = bytes + inner * (scount + count); - float delta = 0.; unsigned int i = 0; diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index 1893f0e4e..dd398f75c 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot-layout-gpos-table.hh @@ -298,7 +298,7 @@ struct AnchorFormat3 if (font->x_ppem || font->num_coords) *x += (this+xDeviceTable).get_x_delta (font, c->var_store); if (font->y_ppem || font->num_coords) - *y += (this+yDeviceTable).get_x_delta (font, c->var_store); + *y += (this+yDeviceTable).get_y_delta (font, c->var_store); } inline bool sanitize (hb_sanitize_context_t *c) const