* src/cache/ftcsbits.c: fixing advance computation for transformed glyphs
diff --git a/ChangeLog b/ChangeLog
index df21cc3..8d486fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* src/base/ftstroke.c: last (?) bugfixes to the stroker.
+ * src/cache/ftcsbits.c: fixing advance computation for
+ transformed glyphs
+
2004-07-11 David Turner <david@freetype.org>
* src/base/ftstroke.c: fixed a bug that prevented the stroker to
diff --git a/src/cache/ftcsbits.c b/src/cache/ftcsbits.c
index 2f8c5f8..7159971 100644
--- a/src/cache/ftcsbits.c
+++ b/src/cache/ftcsbits.c
@@ -137,8 +137,8 @@
#define CHECK_BYTE( d ) ( temp = (FT_Byte)d, temp == d )
/* horizontal advance in pixels */
- xadvance = ( slot->metrics.horiAdvance + 32 ) >> 6;
- yadvance = ( slot->metrics.vertAdvance + 32 ) >> 6;
+ xadvance = ( slot->advance.x + 32 ) >> 6;
+ yadvance = ( slot->advance.y + 32 ) >> 6;
if ( !CHECK_BYTE( bitmap->rows ) ||
!CHECK_BYTE( bitmap->width ) ||