mirror of https://github.com/freetype/freetype
[autofit] Thinko.
* src/autofit/aflatin.c (af_latin_metrics_init_blues): Don't count empty blue zones (bug introduced 2015-12-06).
This commit is contained in:
parent
0164d934b6
commit
dd305f31f0
|
@ -1,3 +1,10 @@
|
|||
2015-12-09 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Thinko.
|
||||
|
||||
* src/autofit/aflatin.c (af_latin_metrics_init_blues): Don't count
|
||||
empty blue zones (bug introduced 2015-12-06).
|
||||
|
||||
2015-12-09 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Introduce subscript top blue zones.
|
||||
|
|
|
@ -822,10 +822,14 @@
|
|||
|
||||
} /* end for loop */
|
||||
|
||||
if ( best_round )
|
||||
rounds[num_rounds++] = best_y_extremum;
|
||||
else
|
||||
flats[num_flats++] = best_y_extremum;
|
||||
if ( !( best_y_extremum == FT_INT_MIN ||
|
||||
best_y_extremum == FT_INT_MAX ) )
|
||||
{
|
||||
if ( best_round )
|
||||
rounds[num_rounds++] = best_y_extremum;
|
||||
else
|
||||
flats[num_flats++] = best_y_extremum;
|
||||
}
|
||||
|
||||
} /* end while loop */
|
||||
|
||||
|
|
Loading…
Reference in New Issue