From 7ca7da9d13bbd7a8a2ca91a3250fb66ef25c8650 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 2 Jun 2021 06:59:01 +0200 Subject: [PATCH] * src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix tracing. Problem reported by Alexei. --- ChangeLog | 6 ++++++ src/autofit/aflatin.c | 2 ++ src/psaux/t1decode.c | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 496d80367..2b6ee36ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2021-06-02 Werner Lemberg + + * src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix tracing. + + Problem reported by Alexei. + 2021-06-02 Werner Lemberg [psaux] Fix MSVC compiler warnings. diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c index 7a068d6d8..ef90c93f6 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 fd4647c52..ee1cb2634 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 */