[autofit] Prepare forthcoming changes.

This makes it easier to control the commits.

* src/autofit/aflatin.c (af_latin_metrics_init_blues): Add dummy
loop.  No functional change.
This commit is contained in:
Werner Lemberg 2015-12-06 18:18:02 +01:00
parent f45c0bf963
commit de5999411a
2 changed files with 355 additions and 340 deletions

View File

@ -1,3 +1,12 @@
2015-12-06 Werner Lemberg <wl@gnu.org>
[autofit] Prepare forthcoming changes.
This makes it easier to control the commits.
* src/autofit/aflatin.c (af_latin_metrics_init_blues): Add dummy
loop. No functional change.
2015-12-06 Werner Lemberg <wl@gnu.org>
[autofit] Use string of standard characters.

View File

@ -348,9 +348,14 @@
FT_Vector* points;
FT_Bool round = 0;
unsigned int i, num_idx;
GET_UTF8_CHAR( ch, p );
num_idx = 1;
for ( i = 0; i < num_idx; i++ )
{
/* load the character in the face -- skip unknown or empty ones */
af_get_char_index( &metrics->root, ch, &glyph_index, &y_offset );
if ( glyph_index == 0 )
@ -735,6 +740,7 @@
else
flats[num_flats++] = best_y;
}
}
if ( num_flats == 0 && num_rounds == 0 )
{