freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 868d5a0 2/2: * src/autofit/aflatin.c (af_latin_metric


From: Werner LEMBERG
Subject: [freetype2] master 868d5a0 2/2: * src/autofit/aflatin.c (af_latin_metrics_init_blues): Minor.
Date: Sat, 12 Dec 2015 06:28:59 +0000

branch: master
commit 868d5a0eaf24cd3eccce17a511f5715fd88ce40c
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    * src/autofit/aflatin.c (af_latin_metrics_init_blues): Minor.
---
 ChangeLog             |    4 ++++
 src/autofit/aflatin.c |    8 +++++++-
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index caf6272..63de954 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-12-12  Werner Lemberg  <address@hidden>
 
+       * src/autofit/aflatin.c (af_latin_metrics_init_blues): Minor.
+
+2015-12-12  Werner Lemberg  <address@hidden>
+
        * src/autofit/afscript.h: Avoid potential crash.
 
 2015-12-10  Werner Lemberg  <address@hidden>
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index fa285f7..9c9f370 100644
--- 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: */
             /*                                                           */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]