shithub: freetype+ttf2subf

Download patch

ref: 7ca7da9d13bbd7a8a2ca91a3250fb66ef25c8650
parent: 0abbc9f5122496d94d7364dfd9fe4e2a0b30b938
author: Werner Lemberg <wl@gnu.org>
date: Wed Jun 2 02:59:01 EDT 2021

* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix tracing.

Problem reported by Alexei.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2021-06-02  Werner Lemberg  <wl@gnu.org>
 
+	* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix tracing.
+
+	Problem reported by Alexei.
+
+2021-06-02  Werner Lemberg  <wl@gnu.org>
+
 	[psaux] Fix MSVC compiler warnings.
 
 	* src/psaux/afmparse.c (afm_parse_track_kern, afm_parse_kern_pairs):
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -1344,9 +1344,11 @@
 
 #ifdef FT_DEBUG_LEVEL_TRACE
     if ( axis->extra_light )
+    {
       FT_TRACE5(( "`%s' style is extra light (at current resolution)\n",
                   af_style_names[metrics->root.style_class->style] ));
       FT_TRACE5(( "\n" ));
+    }
 #endif
 
     if ( dim == AF_DIMENSION_VERT )
--- a/src/psaux/t1decode.c
+++ b/src/psaux/t1decode.c
@@ -1164,7 +1164,7 @@
                         " too much operands on the stack"
                         " (seen %ld, expected %d)\n",
                         top - decoder->stack, num_args ));
-            break;
+          break;
         }
 
 #endif /* FT_DEBUG_LEVEL_TRACE */