Fix for issue 1063

See https://gitlab.freedesktop.org/freetype/freetype/-/issues/1063
for more details on the bug.
This commit is contained in:
David Turner 2021-06-16 09:54:49 +02:00
parent 6f273f6878
commit f8c5c54680
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}