* src/base/ftobjs.c (ft_glyphslot_clear): Reset `lsb_delta' and

`rsb_delta'.
This commit is contained in:
Werner Lemberg 2004-12-09 22:22:52 +00:00
parent d14023d232
commit 34f4f39ad8
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2004-12-08 Werner Lemberg <wl@gnu.org>
* src/base/ftobjs.c (ft_glyphslot_clear): Reset `lsb_delta' and
`rsb_delta'.
2004-12-05 Werner Lemberg <wl@gnu.org>
* builds/unix/install.mk (install): Use $(OBJ_BUILD) for ftconfig.h.

View File

@ -2581,9 +2581,9 @@ FT_BEGIN_HEADER
/* kerning vector. */
/* */
/* <Output> */
/* akerning :: The kerning vector. This is in font units for */
/* scalable formats, and in pixels for fixed-sizes */
/* formats. */
/* akerning :: The kerning vector. This is either in font units */
/* or in pixels (26.6 format) for scalable formats, */
/* and in pixels for fixed-sizes formats. */
/* */
/* <Return> */
/* FreeType error code. 0 means success. */

View File

@ -1539,7 +1539,7 @@
ah_outline_save( outline, gloader );
/* we now need to hint the metrics according to the change in */
/* width/positioning that occured during the hinting process */
/* width/positioning that occurred during the hinting process */
if ( outline->num_vedges > 0 )
{
FT_Pos old_advance, old_rsb, old_lsb, new_lsb, pp1x_uh, pp2x_uh;

View File

@ -305,6 +305,8 @@
slot->linearHoriAdvance = 0;
slot->linearVertAdvance = 0;
slot->lsb_delta = 0;
slot->rsb_delta = 0;
}