mirror of https://github.com/freetype/freetype
[autofit] Fix tracing message.
* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Display inactive blue zones also.
This commit is contained in:
parent
c13526e6af
commit
f02e1df7ac
|
@ -1,3 +1,10 @@
|
|||
2015-12-09 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Fix tracing message.
|
||||
|
||||
* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Display
|
||||
inactive blue zones also.
|
||||
|
||||
2015-12-06 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/autofit/afblue.dat: Add more Khmer clusters.
|
||||
|
|
|
@ -1256,21 +1256,29 @@
|
|||
#endif
|
||||
|
||||
blue->flags |= AF_LATIN_BLUE_ACTIVE;
|
||||
|
||||
FT_TRACE5(( " reference %d: %d scaled to %.2f%s\n"
|
||||
" overshoot %d: %d scaled to %.2f%s\n",
|
||||
nn,
|
||||
blue->ref.org,
|
||||
blue->ref.fit / 64.0,
|
||||
blue->flags & AF_LATIN_BLUE_ACTIVE ? ""
|
||||
: " (inactive)",
|
||||
nn,
|
||||
blue->shoot.org,
|
||||
blue->shoot.fit / 64.0,
|
||||
blue->flags & AF_LATIN_BLUE_ACTIVE ? ""
|
||||
: " (inactive)" ));
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||
for ( nn = 0; nn < axis->blue_count; nn++ )
|
||||
{
|
||||
AF_LatinBlue blue = &axis->blues[nn];
|
||||
|
||||
|
||||
FT_TRACE5(( " reference %d: %d scaled to %.2f%s\n"
|
||||
" overshoot %d: %d scaled to %.2f%s\n",
|
||||
nn,
|
||||
blue->ref.org,
|
||||
blue->ref.fit / 64.0,
|
||||
blue->flags & AF_LATIN_BLUE_ACTIVE ? ""
|
||||
: " (inactive)",
|
||||
nn,
|
||||
blue->shoot.org,
|
||||
blue->shoot.fit / 64.0,
|
||||
blue->flags & AF_LATIN_BLUE_ACTIVE ? ""
|
||||
: " (inactive)" ));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue