* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Minor.
No functional change.
This commit is contained in:
parent
3a528bbe5a
commit
d9c7f5aa6e
|
@ -1,3 +1,9 @@
|
||||||
|
2016-07-26 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Minor.
|
||||||
|
|
||||||
|
No functional change.
|
||||||
|
|
||||||
2016-07-22 Hin-Tak Leung <htl10@users.sourceforge.net>
|
2016-07-22 Hin-Tak Leung <htl10@users.sourceforge.net>
|
||||||
|
|
||||||
[truetype] Record the end of IDEFs.
|
[truetype] Record the end of IDEFs.
|
||||||
|
|
|
@ -1076,7 +1076,7 @@
|
||||||
FT_UInt ppem;
|
FT_UInt ppem;
|
||||||
|
|
||||||
|
|
||||||
scaled = FT_MulFix( blue->shoot.org, scaler->y_scale );
|
scaled = FT_MulFix( blue->shoot.org, scale );
|
||||||
ppem = metrics->root.scaler.face->size->metrics.x_ppem;
|
ppem = metrics->root.scaler.face->size->metrics.x_ppem;
|
||||||
limit = metrics->root.globals->increase_x_height;
|
limit = metrics->root.globals->increase_x_height;
|
||||||
threshold = 40;
|
threshold = 40;
|
||||||
|
@ -1123,8 +1123,6 @@
|
||||||
|
|
||||||
if ( dist == 0 )
|
if ( dist == 0 )
|
||||||
{
|
{
|
||||||
scale = new_scale;
|
|
||||||
|
|
||||||
FT_TRACE5((
|
FT_TRACE5((
|
||||||
"af_latin_metrics_scale_dim:"
|
"af_latin_metrics_scale_dim:"
|
||||||
" x height alignment (style `%s'):\n"
|
" x height alignment (style `%s'):\n"
|
||||||
|
@ -1132,9 +1130,11 @@
|
||||||
" vertical scaling changed from %.4f to %.4f (by %d%%)\n"
|
" vertical scaling changed from %.4f to %.4f (by %d%%)\n"
|
||||||
"\n",
|
"\n",
|
||||||
af_style_names[metrics->root.style_class->style],
|
af_style_names[metrics->root.style_class->style],
|
||||||
axis->org_scale / 65536.0,
|
|
||||||
scale / 65536.0,
|
scale / 65536.0,
|
||||||
|
new_scale / 65536.0,
|
||||||
( fitted - scaled ) * 100 / scaled ));
|
( fitted - scaled ) * 100 / scaled ));
|
||||||
|
|
||||||
|
scale = new_scale;
|
||||||
}
|
}
|
||||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue