summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2017-07-01 16:48:32 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2017-07-01 16:48:32 -0400
commitabeb28f161bc11be4fcdb8af50ab4b736d34a3e5 (patch)
tree1a1428f6a21a775977110ab339642e64ec6a10d8
parent7819aeb622a94be0d89caf8382f290d0266c4aed (diff)
downloadfreetype2-abeb28f161bc11be4fcdb8af50ab4b736d34a3e5.tar.gz
* src/sfnt/sfobjs.c (sfnt_load_face): Ignore No_Unicode_Glyph_Name.
-rw-r--r--ChangeLog4
-rw-r--r--src/sfnt/sfobjs.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a233f703c..30cf6304a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-07-01 Alexei Podtelezhnikov <apodtele@gmail.com>
+
+ * src/sfnt/sfobjs.c (sfnt_load_face): Ignore No_Unicode_Glyph_Name.
+
2017-06-28 Ben Wagner <bungeman@google.com>
Avoid Microsoft compiler warnings (#51331).
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
index 04303e99e..152690878 100644
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -1509,7 +1509,8 @@
NULL, &cmaprec, NULL );
if ( error &&
FT_ERR_NEQ( error, No_Unicode_Glyph_Name ) )
- FT_TRACE2(( "sfnt_load_face: failed to emulate Unicode\n" ));
+ goto Exit;
+ error = FT_Err_Ok;
#endif /* FT_CONFIG_OPTION_POSTSCRIPT_NAMES */