[autofit] Fix synchronization mistake between FreeType and ttfautohint.

Found by Behdad.

* src/autofit/aflatin.c (af_latin_metrics_init_blues): Fix array size of
`blue_sorted`: FreeType doesn't have artificial blue zones.
This commit is contained in:
Werner Lemberg 2023-09-05 08:07:17 +02:00
parent ad20173942
commit 45903920b9
1 changed files with 1 additions and 1 deletions

View File

@ -981,7 +981,7 @@
/* `ref' and `shoot' values of two blue zones must not overlap */
FT_UInt i;
AF_LatinBlue blue_sorted[AF_BLUE_STRINGSET_MAX_LEN + 2];
AF_LatinBlue blue_sorted[AF_BLUE_STRINGSET_MAX_LEN];
for ( i = 0; i < axis->blue_count; i++ )