Commit 3736b28af9d93d74d3d4c269897a80d01dfbfe46

Werner Lemberg 2019-06-13T13:45:05

* src/autofit/aflatin.c (af_latin_metrics_init_widths): Minor.

diff --git a/ChangeLog b/ChangeLog
index d5cf019..82808de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-06-13  Werner Lemberg  <wl@gnu.org>
+
+	* src/autofit/aflatin.c (af_latin_metrics_init_widths): Minor.
+
 2019-06-13  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	[smooth] Restore the span buffering for direct mode only.
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index 9160b34..b5cd3c1 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -149,7 +149,11 @@
       af_shaper_buf_destroy( face, shaper_buf );
 
       if ( !glyph_index )
+      {
+        FT_TRACE5(( "standard character missing;"
+                    " using fallback stem widths\n" ));
         goto Exit;
+      }
 
       FT_TRACE5(( "standard character: U+%04lX (glyph index %d)\n",
                   ch, glyph_index ));