* src/autofit/aflatin.c (af_latin_compute_stem_width): fixed bad

computation of the "vertical" flag, causing ugly things in LCD mode
        and others.
This commit is contained in:
David Turner 2005-09-26 09:27:09 +00:00
parent 03ee7c82a3
commit f582cf3f95
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-09-26 David Turner <david@freetype.org>
* 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 <david@freetype.org>
* src/autofit/aflatin.c (af_latin_hints_init): fixed a bug that

View File

@ -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 ) )