[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:
parent
f45c0bf963
commit
de5999411a
|
@ -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.
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue