[autofit] Fix typos.
This also reduces the used heap size by a large factor. From Behdad. * src/autofit/afcjk.h (AF_CJKAxisRec): Use `AF_BLUE_STRINGSET_MAX_LEN`. * src/autofit/aflatin.h (AF_LatinAxisRec): Ditto.
This commit is contained in:
parent
000b26a30f
commit
ad20173942
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user