* src/cache/ftcsbits.c: fixing advance computation for

transformed glyphs
This commit is contained in:
David Turner 2004-07-12 22:54:09 +00:00
parent 77c001e529
commit 6a6e6f27ac
2 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,9 @@
* src/base/ftstroke.c: last (?) bugfixes to the stroker. * 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> 2004-07-11 David Turner <david@freetype.org>
* src/base/ftstroke.c: fixed a bug that prevented the stroker to * src/base/ftstroke.c: fixed a bug that prevented the stroker to

View File

@ -137,8 +137,8 @@
#define CHECK_BYTE( d ) ( temp = (FT_Byte)d, temp == d ) #define CHECK_BYTE( d ) ( temp = (FT_Byte)d, temp == d )
/* horizontal advance in pixels */ /* horizontal advance in pixels */
xadvance = ( slot->metrics.horiAdvance + 32 ) >> 6; xadvance = ( slot->advance.x + 32 ) >> 6;
yadvance = ( slot->metrics.vertAdvance + 32 ) >> 6; yadvance = ( slot->advance.y + 32 ) >> 6;
if ( !CHECK_BYTE( bitmap->rows ) || if ( !CHECK_BYTE( bitmap->rows ) ||
!CHECK_BYTE( bitmap->width ) || !CHECK_BYTE( bitmap->width ) ||