freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master dec2743e6: * src/truetype/ttgload.c (TT_Hint_Glyph):


From: Werner Lemberg
Subject: [freetype2] master dec2743e6: * src/truetype/ttgload.c (TT_Hint_Glyph): More mostly cosmetic update.
Date: Fri, 7 Jul 2023 23:43:41 -0400 (EDT)

branch: master
commit dec2743e6a2a40cddfc8a9892895cb4f861e1eeb
Author: Hin-Tak Leung <htl10@users.sourceforge.net>
Commit: Werner Lemberg <wl@gnu.org>

    * 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>
---
 src/truetype/ttgload.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 5f15a7f4d..d538e8ee8 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -820,7 +820,7 @@
       FT_ARRAY_COPY( zone->org, zone->cur, zone->n_points );
 
     /* Reset graphics state. */
-    loader->exec->GS = loader->size->GS;
+    exec->GS = loader->size->GS;
 
     /* XXX: UNDOCUMENTED! Hinting instructions of a composite glyph */
     /*      completely refer to the (already) hinted subglyphs.     */
@@ -860,7 +860,7 @@
       exec->is_composite = is_composite;
       exec->pts          = *zone;
 
-      error = TT_Run_Context( loader->exec );
+      error = TT_Run_Context( exec );
       if ( error && exec->pedantic_hinting )
         return error;
 



reply via email to

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