* src/truetype/ttinterp.c (TT_Run_Context): Reset IUP tracking bits.

Fixes #1353.
This commit is contained in:
Alexei Podtelezhnikov
2025-09-08 10:43:35 -04:00
parent e969f52986
commit 89eba38e62

View File

@@ -7521,6 +7521,12 @@
exec->func_round = (TT_Round_Func)Round_To_Grid;
Compute_Funcs( exec );
#ifdef TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
/* Reset IUP tracking bits in the backward compatibility mode. */
/* See `ttinterp.h' for details. */
exc->backward_compatibility &= ~0x6;
#endif
/* some glyphs leave something on the stack, */
/* so we clean it before a new execution. */
exec->top = 0;