ref: 88c0e12109f4059b8ce45797c71b50218c141462
parent: 96b5e500909cfce39ff78feabefd8063a229b951
author: Alexei Podtelezhnikov <[email protected]>
date: Fri Aug 10 17:24:40 EDT 2018
* src/sfnt/ttsbit.c (tt_sbit_decoder_load_compound): Follow specs.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-08-10 Alexei Podtelezhnikov <[email protected]>
+
+ * src/sfnt/ttsbit.c (tt_sbit_decoder_load_compound): Follow specs.
+
2018-08-10 Ben Wagner <[email protected]>
* src/sfnt/sfobjs.c (sfnt_done_face): Fix memory leak (#54435).
--- 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 */