* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix tracing. Problem reported by Alexei.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
diff --git a/ChangeLog b/ChangeLog
index 496d803..2b6ee36 100644
--- 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):
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index 7a068d6..ef90c93 100644
--- 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 )
diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c
index fd4647c..ee1cb26 100644
--- 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 */