* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Remove FT_ABS.
See https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=68679
This commit is contained in:
parent
7bd887f177
commit
2edfd7e168
@ -1263,10 +1263,9 @@
|
||||
max_height = FT_MAX( max_height, -Axis->blues[nn].descender );
|
||||
}
|
||||
|
||||
dist = FT_ABS( FT_MulFix( max_height, new_scale - scale ) );
|
||||
dist &= ~127;
|
||||
dist = FT_MulFix( max_height, new_scale - scale );
|
||||
|
||||
if ( dist == 0 )
|
||||
if ( -128 < dist && dist < 128 )
|
||||
{
|
||||
FT_TRACE5(( "af_latin_metrics_scale_dim:"
|
||||
" x height alignment (style `%s'):\n",
|
||||
|
Loading…
Reference in New Issue
Block a user