diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index 8bd361868..d90d68c59 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -952,6 +952,7 @@ struct ArrayOf public: DEFINE_SIZE_ARRAY (sizeof (LenType), array); }; +template struct LArrayOf : ArrayOf {}; /* Array of Offset's */ template diff --git a/src/hb-ot-cbdt-table.hh b/src/hb-ot-cbdt-table.hh index 93cf0e853..0a7fbf5b7 100644 --- a/src/hb-ot-cbdt-table.hh +++ b/src/hb-ot-cbdt-table.hh @@ -348,8 +348,8 @@ struct CBLC } protected: - FixedVersion<>version; - ArrayOf sizeTables; + FixedVersion<> version; + LArrayOf sizeTables; public: DEFINE_SIZE_ARRAY(8, sizeTables); diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index 2f83497b4..92b5c17ee 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/src/hb-ot-layout-common-private.hh @@ -1527,7 +1527,7 @@ struct FeatureVariations protected: FixedVersion<> version; /* Version--0x00010000u */ - ArrayOf + LArrayOf varRecords; public: DEFINE_SIZE_ARRAY (8, varRecords);