freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] issue-1063 04122bd 2/2: Fix for issue 1063


From: Werner Lemberg
Subject: [freetype2] issue-1063 04122bd 2/2: Fix for issue 1063
Date: Wed, 16 Jun 2021 04:29:39 -0400 (EDT)

branch: issue-1063
commit 04122bd020570a9a79ace183baec342f71c61488
Author: David Turner <david@freetype.org>
Commit: David Turner <david@freetype.org>

    Fix for issue 1063
    
    See https://gitlab.freedesktop.org/freetype/freetype/-/issues/1063
    for more details on the bug.
---
 src/autofit/afglobal.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/autofit/afglobal.c b/src/autofit/afglobal.c
index 554733f..b465fdd 100644
--- a/src/autofit/afglobal.c
+++ b/src/autofit/afglobal.c
@@ -478,6 +478,10 @@
           {
             style = (AF_Style)( globals->glyph_styles[gindex] &
                                 AF_STYLE_UNASSIGNED           );
+            /* IMPORTANT: Clear the error code,
+             * see issue
+             * https://gitlab.freedesktop.org/freetype/freetype/-/issues/1063 
*/
+            error = 0;
             goto Again;
           }
 



reply via email to

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