freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] [truetype] Reset the IUP-called flags f


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] [truetype] Reset the IUP-called flags for each subglyph.
Date: Sun, 12 Dec 2021 17:37:34 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

2 changed files:

Changes:

  • src/truetype/ttgload.c
    ... ... @@ -2689,8 +2689,6 @@
    2689 2689
           if ( driver->interpreter_version == TT_INTERPRETER_VERSION_38 &&
    
    2690 2690
                exec->GS.instruct_control & 4                            )
    
    2691 2691
             exec->ignore_x_mode = FALSE;
    
    2692
    -
    
    2693
    -      exec->iup_called = FALSE;
    
    2694 2692
     #endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */
    
    2695 2693
     
    
    2696 2694
     #ifdef TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
    
    ... ... @@ -2713,9 +2711,6 @@
    2713 2711
             exec->backward_compatibility = !( exec->GS.instruct_control & 4 );
    
    2714 2712
           else
    
    2715 2713
             exec->backward_compatibility = FALSE;
    
    2716
    -
    
    2717
    -      exec->iupx_called = FALSE;
    
    2718
    -      exec->iupy_called = FALSE;
    
    2719 2714
     #endif /* TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL */
    
    2720 2715
     
    
    2721 2716
           exec->pedantic_hinting = FT_BOOL( load_flags & FT_LOAD_PEDANTIC );
    

  • src/truetype/ttinterp.c
    ... ... @@ -516,6 +516,14 @@
    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
    +
    
    519 527
         /* some glyphs leave something on the stack. so we clean it */
    
    520 528
         /* before a new execution.                                  */
    
    521 529
         exec->top     = 0;
    


  • reply via email to

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