|
|
|
@ -1690,9 +1690,11 @@ |
|
|
|
|
if ( prev_max_on_coord > max_on_coord ) |
|
|
|
|
max_on_coord = prev_max_on_coord; |
|
|
|
|
|
|
|
|
|
prev_segment->last = point; |
|
|
|
|
prev_segment->pos = (FT_Short)( ( min_pos + |
|
|
|
|
max_pos ) >> 1 ); |
|
|
|
|
prev_segment->last = point; |
|
|
|
|
prev_segment->pos = (FT_Short)( ( min_pos + |
|
|
|
|
max_pos ) >> 1 ); |
|
|
|
|
prev_segment->delta = (FT_Short)( ( max_pos - |
|
|
|
|
min_pos ) >> 1 ); |
|
|
|
|
|
|
|
|
|
if ( ( min_flags | max_flags ) & AF_FLAG_CONTROL && |
|
|
|
|
( max_on_coord - min_on_coord ) < flat_threshold ) |
|
|
|
@ -1720,9 +1722,11 @@ |
|
|
|
|
if ( max_pos > prev_max_pos ) |
|
|
|
|
prev_max_pos = max_pos; |
|
|
|
|
|
|
|
|
|
prev_segment->last = point; |
|
|
|
|
prev_segment->pos = (FT_Short)( ( prev_min_pos + |
|
|
|
|
prev_max_pos ) >> 1 ); |
|
|
|
|
prev_segment->last = point; |
|
|
|
|
prev_segment->pos = (FT_Short)( ( prev_min_pos + |
|
|
|
|
prev_max_pos ) >> 1 ); |
|
|
|
|
prev_segment->delta = (FT_Short)( ( prev_max_pos - |
|
|
|
|
prev_min_pos ) >> 1 ); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
@ -1733,8 +1737,9 @@ |
|
|
|
|
if ( prev_max_pos > max_pos ) |
|
|
|
|
max_pos = prev_max_pos; |
|
|
|
|
|
|
|
|
|
segment->last = point; |
|
|
|
|
segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); |
|
|
|
|
segment->last = point; |
|
|
|
|
segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); |
|
|
|
|
segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 ); |
|
|
|
|
|
|
|
|
|
if ( ( min_flags | max_flags ) & AF_FLAG_CONTROL && |
|
|
|
|
( max_on_coord - min_on_coord ) < flat_threshold ) |
|
|
|
|