freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] [truetype] Reset IUP flags in `TT_RunIn


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] [truetype] Reset IUP flags in `TT_RunIns`.
Date: Mon, 25 Apr 2022 12:14:00 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • src/truetype/ttinterp.c
    ... ... @@ -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];
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]