diff --git a/ChangeLog b/ChangeLog index ee9b78745..5181a2b8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-09-26 David Turner + + * src/autofit/aflatin.c (af_latin_compute_stem_width): fixed bad + computation of the "vertical" flag, causing ugly things in LCD mode + and others. + 2005-09-23 David Turner * src/autofit/aflatin.c (af_latin_hints_init): fixed a bug that diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c index ab47f88e4..b7e04e371 100644 --- a/src/autofit/aflatin.c +++ b/src/autofit/aflatin.c @@ -1409,7 +1409,7 @@ AF_LatinAxis axis = & metrics->axis[dim]; FT_Pos dist = width; FT_Int sign = 0; - FT_Int vertical = AF_HINTS_DO_VERTICAL( hints ); + FT_Int vertical = ( dim == AF_DIMENSION_VERT ); if ( !AF_LATIN_HINTS_DO_STEM_ADJUST( hints ) )