* src/truetype/ttobjs.c (tt_size_read_bytecode): Trace CVT values.

This commit is contained in:
Werner Lemberg 2018-08-26 15:40:16 +02:00
parent 2095772144
commit ae3afbc471
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2018-08-26 Werner Lemberg <wl@gnu.org>
* src/truetype/ttobjs.c (tt_size_read_bytecode): Trace CVT values.
2018-08-26 Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com>
* configure: Copy assets required by docwriter.

View File

@ -1174,10 +1174,16 @@
TT_Face face = (TT_Face)size->root.face;
/* Scale the cvt values to the new ppem. */
/* We use by default the y ppem to scale the CVT. */
/* Scale the cvt values to the new ppem. */
/* By default, we use the y ppem value for scaling. */
FT_TRACE6(( "CVT values:\n" ));
for ( i = 0; i < size->cvt_size; i++ )
{
size->cvt[i] = FT_MulFix( face->cvt[i], size->ttmetrics.scale );
FT_TRACE6(( " %3d: %d (%f)\n",
i, face->cvt[i], size->cvt[i] / 64.0 ));
}
FT_TRACE6(( "\n" ));
/* all twilight points are originally zero */
for ( i = 0; i < (FT_UInt)size->twilight.n_points; i++ )