ref: d5522ac0603a15bd87f795d36dc218681befe022
parent: b110acba9e6f7e40314f0da5d249cb3cb3beeab8
author: Weiyi Wu <[email protected]>
date: Mon Jul 22 05:49:22 EDT 2019
* src/cid/cidload.c (cid_hex_to_binary): Fix typo (#56653).
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-07-22 Weiyi Wu <[email protected]>
+
+ * src/cid/cidload.c (cid_hex_to_binary): Fix typo (#56653).
+
2019-07-12 Werner Lemberg <[email protected]>
[sfnt, winfonts] Avoid memory leaks in case of error (#56587).
--- 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 == ' ' ||