[autofit] Minor tracing improvement.

* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Don't emit
blue zones header line if there are no blue zones.
This commit is contained in:
Werner Lemberg 2015-09-26 16:57:17 +02:00
parent 4187753970
commit 19188a9a19
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2015-09-26 Werner Lemberg <wl@gnu.org>
[autofit] Minor tracing improvement.
* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Don't emit
blue zones header line if there are no blue zones.
2015-09-26 Werner Lemberg <wl@gnu.org>
[bzip2, gzip, lzw] Harmonize function signatures with prototype.

View File

@ -1038,8 +1038,11 @@
if ( dim == AF_DIMENSION_VERT )
{
FT_TRACE5(( "blue zones (style `%s')\n",
af_style_names[metrics->root.style_class->style] ));
#ifdef FT_DEBUG_LEVEL_TRACE
if ( axis->blue_count )
FT_TRACE5(( "blue zones (style `%s')\n",
af_style_names[metrics->root.style_class->style] ));
#endif
/* scale the blue zones */
for ( nn = 0; nn < axis->blue_count; nn++ )