Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
581dd064
by Alexei Podtelezhnikov at 2022-04-25T08:03:08-04:00
1 changed file:
Changes:
... | ... | @@ -516,14 +516,6 @@ |
516 | 516 | exec->GS.round_state = 1;
|
517 | 517 | exec->GS.loop = 1;
|
518 | 518 | |
519 | -#ifdef TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
|
|
520 | - exec->iup_called = FALSE;
|
|
521 | -#endif
|
|
522 | -#ifdef TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
|
|
523 | - exec->iupx_called = FALSE;
|
|
524 | - exec->iupy_called = FALSE;
|
|
525 | -#endif
|
|
526 | - |
|
527 | 519 | /* some glyphs leave something on the stack. so we clean it */
|
528 | 520 | /* before a new execution. */
|
529 | 521 | exec->top = 0;
|
... | ... | @@ -7847,6 +7839,15 @@ |
7847 | 7839 | Compute_Funcs( exc );
|
7848 | 7840 | Compute_Round( exc, (FT_Byte)exc->GS.round_state );
|
7849 | 7841 | |
7842 | + /* These flags cancel execution of some opcodes after IUP is called */
|
|
7843 | +#ifdef TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
|
|
7844 | + exc->iup_called = FALSE;
|
|
7845 | +#endif
|
|
7846 | +#ifdef TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
|
|
7847 | + exc->iupx_called = FALSE;
|
|
7848 | + exc->iupy_called = FALSE;
|
|
7849 | +#endif
|
|
7850 | + |
|
7850 | 7851 | do
|
7851 | 7852 | {
|
7852 | 7853 | exc->opcode = exc->code[exc->IP];
|