* 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
|
@ -5005,7 +5005,7 @@
|
||||||
/* Disable Type 2 Vacuform Rounds - e.g. Arial Narrow */
|
/* Disable Type 2 Vacuform Rounds - e.g. Arial Narrow */
|
||||||
if ( SUBPIXEL_HINTING_INFINALITY &&
|
if ( SUBPIXEL_HINTING_INFINALITY &&
|
||||||
exc->ignore_x_mode &&
|
exc->ignore_x_mode &&
|
||||||
FT_ABS( D ) == 64 )
|
( D < 0 ? NEG_LONG( D ) : D ) == 64 )
|
||||||
D += 1;
|
D += 1;
|
||||||
#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */
|
#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue