shithub: freetype+ttf2subf

Download patch

ref: abeb28f161bc11be4fcdb8af50ab4b736d34a3e5
parent: 7819aeb622a94be0d89caf8382f290d0266c4aed
author: Alexei Podtelezhnikov <[email protected]>
date: Sat Jul 1 12:48:32 EDT 2017

* src/sfnt/sfobjs.c (sfnt_load_face): Ignore No_Unicode_Glyph_Name.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-07-01  Alexei Podtelezhnikov  <[email protected]>
+
+	* src/sfnt/sfobjs.c (sfnt_load_face): Ignore No_Unicode_Glyph_Name.
+
 2017-06-28  Ben Wagner  <[email protected]>
 
 	Avoid Microsoft compiler warnings (#51331).
--- 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 */