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

Problem reported by Alexei.
This commit is contained in:
Werner Lemberg 2021-06-02 06:59:01 +02:00
parent 0abbc9f512
commit 7ca7da9d13
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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 )

View File

@ -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 */