summaryrefslogtreecommitdiff
path: root/src/truetype/ttgload.c
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2021-12-12 12:29:04 -0500
committerAlexei Podtelezhnikov <apodtele@gmail.com>2021-12-12 12:29:04 -0500
commitfd03dcc1220453ac9e3e70c664c3f65cc72aefee (patch)
treebdabad049fe4a136c067d29f0cfa79325ea716e4 /src/truetype/ttgload.c
parent7add5b2bcb2794b8f9dacdcd2e732835140adefd (diff)
downloadfreetype2-fd03dcc1220453ac9e3e70c664c3f65cc72aefee.tar.gz
[truetype] Reset the IUP-called flags for each subglyph.
This fixes fall-out from 7809007a5b88b15, where the composite accents were no longer hinted. * src/truetype/ttgload.c (ttloader_init): Move the IUP-called flag initialization from here... * src/truetype/ttinterp.c (TT_Run_Context): ... to here.
Diffstat (limited to 'src/truetype/ttgload.c')
-rw-r--r--src/truetype/ttgload.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 81c2b1c81..0d8f271c6 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -2689,8 +2689,6 @@
if ( driver->interpreter_version == TT_INTERPRETER_VERSION_38 &&
exec->GS.instruct_control & 4 )
exec->ignore_x_mode = FALSE;
-
- exec->iup_called = FALSE;
#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */
#ifdef TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
@@ -2713,9 +2711,6 @@
exec->backward_compatibility = !( exec->GS.instruct_control & 4 );
else
exec->backward_compatibility = FALSE;
-
- exec->iupx_called = FALSE;
- exec->iupy_called = FALSE;
#endif /* TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL */
exec->pedantic_hinting = FT_BOOL( load_flags & FT_LOAD_PEDANTIC );