* 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 93efd5f88f
commit bbe4bb3f1c
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/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

View File

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