summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/autofit/afglobal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/autofit/afglobal.c b/src/autofit/afglobal.c
index 554733fc0..aedb74ddd 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
+ * https://gitlab.freedesktop.org/freetype/freetype/-/issues/1063
+ */
+ error = 0;
goto Again;
}