shithub: freetype+ttf2subf

Download patch

ref: f8c5c546808c20c195ac3a9998c509943e4b56ee
parent: 6f273f68788265b2bf0a127be68062f5eaccbb1b
author: David Turner <[email protected]>
date: Wed Jun 16 05:54:49 EDT 2021

Fix for issue 1063

See https://gitlab.freedesktop.org/freetype/freetype/-/issues/1063
for more details on the bug.

git/fs: mount .git/fs: mount/attach disallowed
--- 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;
           }