freetype2/src/truetype
Ben Wagner 11975fe9f6 Fix state of `FT_Face' for buggy `gvar' tables (#57923).
By resetting the blend as implemented with this commit fonts with
invalid `gvar' tables may keep calling into `ft_var_load_gvar' from
`tt_set_mm_blend' and failing, but the font was invalid anyway and
we want to keep seeing the failure in `tt_set_mm_blend'.

* src/truetype/ttgxvar.c (ft_var_load_gvar): Calculate length of
offset array once.
Allocate arrays after `FT_FRAME_ENTER' (extra check before
allocating and avoid needing to free array later if error entering
frame).
Always call `FT_FRAME_EXIT'.
Consistently set counts immediately after array initialized.
Reset the blend (particularly `blend->glyphoffsets') on failure.
2020-02-29 20:29:14 +01:00
..
Jamfile Update all copyright notices. 2020-01-19 17:05:19 +01:00
module.mk Update all copyright notices. 2020-01-19 17:05:19 +01:00
rules.mk Update all copyright notices. 2020-01-19 17:05:19 +01:00
truetype.c Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttdriver.c Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttdriver.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
tterrors.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttgload.c Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttgload.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttgxvar.c Fix state of `FT_Face' for buggy `gvar' tables (#57923). 2020-02-29 20:29:14 +01:00
ttgxvar.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttinterp.c * src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#57732). 2020-02-04 13:37:19 +01:00
ttinterp.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttobjs.c Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttobjs.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttpload.c Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttpload.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttsubpix.c Update all copyright notices. 2020-01-19 17:05:19 +01:00
ttsubpix.h Update all copyright notices. 2020-01-19 17:05:19 +01:00