shithub: freetype+ttf2subf

Download patch

ref: 868d5a0eaf24cd3eccce17a511f5715fd88ce40c
parent: 79a42ad283675cc9d5020dd8ed5633902cee2a2d
author: Werner Lemberg <[email protected]>
date: Sat Dec 12 02:28:22 EST 2015

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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-12-12  Werner Lemberg  <[email protected]>
 
+	* src/autofit/aflatin.c (af_latin_metrics_init_blues): Minor.
+
+2015-12-12  Werner Lemberg  <[email protected]>
+
 	* src/autofit/afscript.h: Avoid potential crash.
 
 2015-12-10  Werner Lemberg  <[email protected]>
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -773,7 +773,13 @@
             /* with a vertical shift                                     */
             best_y += y_offset;
 
-            FT_TRACE5(( "  U+%04lX: best_y = %5ld", ch, best_y ));
+#ifdef FT_DEBUG_LEVEL_TRACE
+            if ( num_idx == 1 )
+              FT_TRACE5(( "  U+%04lX: best_y = %5ld", ch, best_y ));
+            else
+              FT_TRACE5(( "  component %d of cluster starting with U+%04lX:"
+                          " best_y = %5ld", i, ch, best_y ));
+#endif
 
             /* now set the `round' flag depending on the segment's kind: */
             /*                                                           */