Commit 955f6a86a3c12c27fe0b96bfb880fa87a84712b7

Werner Lemberg 2013-10-16T19:47:57

[autofit] Improve tracing message for extra light flag. * src/autofit/aflatin.c (af_latin_metrics_scale_dim): Do it.

diff --git a/ChangeLog b/ChangeLog
index 2d3f65e..bb8d1b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-10-16  Werner Lemberg  <wl@gnu.org>
+
+	[autofit] Improve tracing message for extra light flag.
+
+	* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Do it.
+
 2013-10-15  Chongyu Zhu  <lembacon@gmail.com>
 
 	[arm] Fix thumb2 inline assembly under LLVM.
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index 0bc9748..932c729 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -933,8 +933,9 @@
 
 #ifdef FT_DEBUG_LEVEL_TRACE
     if ( axis->extra_light )
-      FT_TRACE5(( "this font is extra light\n"
-                  "\n" ));
+      FT_TRACE5(( "`%s' script is extra light (at current resolution)\n"
+                  "\n",
+                  af_script_names[metrics->root.script_class->script] ));
 #endif
 
     if ( dim == AF_DIMENSION_VERT )