diff --git a/src/sfnt/ttmtx.c b/src/sfnt/ttmtx.c index 5aa4b810a..e3eff2965 100644 --- a/src/sfnt/ttmtx.c +++ b/src/sfnt/ttmtx.c @@ -358,7 +358,7 @@ table_size = face->horz_metrics_size; } - table_end = table_pos + table_end; + table_end = table_pos + table_size; k = header->number_Of_HMetrics;