freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] * src/truetype/ttgload.c (TT_Hint_Glyph


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] * src/truetype/ttgload.c (TT_Hint_Glyph): More mostly cosmetic update.
Date: Sat, 08 Jul 2023 03:43:34 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

  • dec2743e
    by Hin-Tak Leung at 2023-07-08T05:39:25+02:00
    * src/truetype/ttgload.c (TT_Hint_Glyph): More mostly cosmetic update.
    
    This is a follow-up to commit 49c74ac02, which creates a new local variable
    "exec = loader->exec", and shortening a lot of "loader->exec".  This commit
    does two more such changes missed in that first commit.
    
    Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
    

1 changed file:

Changes:

  • src/truetype/ttgload.c
    ... ... @@ -820,7 +820,7 @@
    820 820
           FT_ARRAY_COPY( zone->org, zone->cur, zone->n_points );
    
    821 821
     
    
    822 822
         /* Reset graphics state. */
    
    823
    -    loader->exec->GS = loader->size->GS;
    
    823
    +    exec->GS = loader->size->GS;
    
    824 824
     
    
    825 825
         /* XXX: UNDOCUMENTED! Hinting instructions of a composite glyph */
    
    826 826
         /*      completely refer to the (already) hinted subglyphs.     */
    
    ... ... @@ -860,7 +860,7 @@
    860 860
           exec->is_composite = is_composite;
    
    861 861
           exec->pts          = *zone;
    
    862 862
     
    
    863
    -      error = TT_Run_Context( loader->exec );
    
    863
    +      error = TT_Run_Context( exec );
    
    864 864
           if ( error && exec->pedantic_hinting )
    
    865 865
             return error;
    
    866 866
     
    


  • reply via email to

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