diff --git a/src/hb-aat-var-hvgl-table.cc b/src/hb-aat-var-hvgl-table.cc index 5681b30bb..c76e15114 100644 --- a/src/hb-aat-var-hvgl-table.cc +++ b/src/hb-aat-var-hvgl-table.cc @@ -384,13 +384,12 @@ PartComposite::apply_to_transforms (hb_array_t> transform hb_array_t coords) const { const auto &allTranslations = StructAtOffset (this, allTranslationsOff4 * 4); - const auto &allRotations = StructAtOffset (this, allRotationsOff4 * 4); - const auto &masterTranslationDelta = allTranslations.masterTranslationDelta; const auto &extremumTranslationDelta = StructAfter (masterTranslationDelta, sparseMasterTranslationCount); const auto &extremumTranslationIndex = StructAfter (extremumTranslationDelta, sparseExtremumTranslationCount); const auto &masterTranslationIndex = StructAfter (extremumTranslationIndex, sparseExtremumTranslationCount); + const auto &allRotations = StructAtOffset (this, allRotationsOff4 * 4); const auto &masterRotationDelta = allRotations.masterRotationDelta; const auto &extremumRotationDelta = StructAfter (masterRotationDelta, sparseMasterRotationCount); const auto &extremumRotationIndex = StructAfter (extremumRotationDelta, sparseExtremumRotationCount);