* src/sfnt/ttsbit.c (tt_sbit_decoder_load_compound): Follow specs.

This commit is contained in:
Alexei Podtelezhnikov 2018-08-10 21:24:40 -04:00
parent 96b5e50090
commit 88c0e12109
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2018-08-10 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/sfnt/ttsbit.c (tt_sbit_decoder_load_compound): Follow specs.
2018-08-10 Ben Wagner <bungeman@google.com>
* src/sfnt/sfobjs.c (sfnt_done_face): Fix memory leak (#54435).

View File

@ -1014,8 +1014,8 @@
for ( nn = 0; nn < num_components; nn++ )
{
FT_UInt gindex = FT_NEXT_USHORT( p );
FT_Byte dx = FT_NEXT_BYTE( p );
FT_Byte dy = FT_NEXT_BYTE( p );
FT_Char dx = FT_NEXT_CHAR( p );
FT_Char dy = FT_NEXT_CHAR( p );
/* NB: a recursive call */