forked from minhngoc25a/freetype2
* src/cache/ftcsbits.c: fixing advance computation for
transformed glyphs
This commit is contained in:
parent
77c001e529
commit
6a6e6f27ac
|
@ -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
|
||||
|
|
|
@ -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 ) ||
|
||||
|
|
Loading…
Reference in New Issue