ref: 6a6e6f27acc4f238b12c1211ec92c50a079c1f46
parent: 77c001e529d1fa54cc6a2c862bb492f28891dd8a
author: David Turner <[email protected]>
date: Mon Jul 12 18:54:09 EDT 2004
* src/cache/ftcsbits.c: fixing advance computation for transformed glyphs
--- 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 <[email protected]>
* src/base/ftstroke.c: fixed a bug that prevented the stroker to
--- 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 ) ||