diff --git a/src/autofit/afcjk.h b/src/autofit/afcjk.h index f380ef6e0..20dad4d72 100644 --- a/src/autofit/afcjk.h +++ b/src/autofit/afcjk.h @@ -84,7 +84,7 @@ FT_BEGIN_HEADER /* used for horizontal metrics too for CJK */ FT_Bool control_overshoot; FT_UInt blue_count; - AF_CJKBlueRec blues[AF_BLUE_STRINGSET_MAX]; + AF_CJKBlueRec blues[AF_BLUE_STRINGSET_MAX_LEN]; FT_Fixed org_scale; FT_Pos org_delta; diff --git a/src/autofit/aflatin.h b/src/autofit/aflatin.h index 31aa91d3b..22435d5a0 100644 --- a/src/autofit/aflatin.h +++ b/src/autofit/aflatin.h @@ -98,7 +98,7 @@ FT_BEGIN_HEADER /* ignored for horizontal metrics */ FT_UInt blue_count; - AF_LatinBlueRec blues[AF_BLUE_STRINGSET_MAX]; + AF_LatinBlueRec blues[AF_BLUE_STRINGSET_MAX_LEN]; FT_Fixed org_scale; FT_Pos org_delta;