shithub: freetype+ttf2subf

Download patch

ref: 3a5e507838a6e591f867f47b3b88c149ddc01ddd
parent: 2873010d1538996e902cdafac52e22cc39fd4df1
author: Werner Lemberg <[email protected]>
date: Mon Feb 15 17:21:01 EST 2016

* src/cff/cffparse.c (cff_parse_multiple_master): Improve tracing.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2016-02-15  Werner Lemberg  <[email protected]>
 
+	* src/cff/cffparse.c (cff_parse_multiple_master): Improve tracing.
+
+2016-02-15  Werner Lemberg  <[email protected]>
+
 	[cff] Handle T2 operator only with old CFF engine (#47157).
 
 	* src/cff/cffparse.c (cff_parser_run) <opcode 31>: Enclose with
--- a/src/cff/cffparse.c
+++ b/src/cff/cffparse.c
@@ -664,8 +664,15 @@
     FT_Error         error;
 
 
-    FT_TRACE1(( "Multiple Master CFFs not supported yet,"
-                " handling first master design only\n" ));
+#ifdef FT_DEBUG_LEVEL_TRACE
+    /* beautify tracing message */
+    if ( ft_trace_levels[FT_COMPONENT] < 4 )
+      FT_TRACE1(( "Multiple Master CFFs not supported yet,"
+                  " handling first master design only\n" ));
+    else
+      FT_TRACE1(( " (not supported yet,"
+                  " handling first master design only)\n" ));
+#endif
 
     error = FT_ERR( Stack_Underflow );