diff --git a/ChangeLog b/ChangeLog index dfafdfbf2..0229dce31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-07-22 Weiyi Wu + + * src/cid/cidload.c (cid_hex_to_binary): Fix typo (#56653). + 2019-07-12 Werner Lemberg [sfnt, winfonts] Avoid memory leaks in case of error (#56587). diff --git a/src/cid/cidload.c b/src/cid/cidload.c index fce3e37da..fdd877ec3 100644 --- a/src/cid/cidload.c +++ b/src/cid/cidload.c @@ -715,7 +715,7 @@ if ( ft_isdigit( *p ) ) val = (FT_Byte)( *p - '0' ); else if ( *p >= 'a' && *p <= 'f' ) - val = (FT_Byte)( *p - 'a' ); + val = (FT_Byte)( *p - 'a' + 10 ); else if ( *p >= 'A' && *p <= 'F' ) val = (FT_Byte)( *p - 'A' + 10 ); else if ( *p == ' ' ||