summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2005-09-26 09:27:09 +0000
committerDavid Turner <david@freetype.org>2005-09-26 09:27:09 +0000
commitf44a1f671c4bc0d58f32f4853caa9126c2fd4361 (patch)
tree85ab4a68688c125bb1da50e76a7e8bc20a015896
parent960a547587eb3df0760faa3d08247a101c600de6 (diff)
downloadfreetype2-f44a1f671c4bc0d58f32f4853caa9126c2fd4361.tar.gz
* src/autofit/aflatin.c (af_latin_compute_stem_width): fixed bad
computation of the "vertical" flag, causing ugly things in LCD mode and others.
-rw-r--r--ChangeLog6
-rw-r--r--src/autofit/aflatin.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ee9b78745..5181a2b8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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 ) )