From 88c0e12109f4059b8ce45797c71b50218c141462 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Fri, 10 Aug 2018 21:24:40 -0400 Subject: [PATCH] * src/sfnt/ttsbit.c (tt_sbit_decoder_load_compound): Follow specs. --- ChangeLog | 4 ++++ src/sfnt/ttsbit.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b6cb46b7b..11f2de44e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-08-10 Alexei Podtelezhnikov + + * src/sfnt/ttsbit.c (tt_sbit_decoder_load_compound): Follow specs. + 2018-08-10 Ben Wagner * src/sfnt/sfobjs.c (sfnt_done_face): Fix memory leak (#54435). diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c index 322c000e8..209e8b061 100644 --- a/src/sfnt/ttsbit.c +++ b/src/sfnt/ttsbit.c @@ -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 */