* src/truetype/ttinterp.c (Ins_MD): Avoid `FT_ABS`.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38562
This commit is contained in:
parent
f8a4163a45
commit
a11650d7fa
|
@ -5003,9 +5003,9 @@
|
|||
|
||||
#ifdef TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
|
||||
/* Disable Type 2 Vacuform Rounds - e.g. Arial Narrow */
|
||||
if ( SUBPIXEL_HINTING_INFINALITY &&
|
||||
exc->ignore_x_mode &&
|
||||
FT_ABS( D ) == 64 )
|
||||
if ( SUBPIXEL_HINTING_INFINALITY &&
|
||||
exc->ignore_x_mode &&
|
||||
( D < 0 ? NEG_LONG( D ) : D ) == 64 )
|
||||
D += 1;
|
||||
#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */
|
||||
|
||||
|
|
Loading…
Reference in New Issue