* src/base/ftobjs.c (ft_glyphslot_clear): Reset `lsb_delta' and `rsb_delta'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
diff --git a/ChangeLog b/ChangeLog
index 96a20ae..5929c89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index 865d299..697f8e7 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -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. */
diff --git a/src/autohint/ahhint.c b/src/autohint/ahhint.c
index 8e8afea..013b951 100644
--- a/src/autohint/ahhint.c
+++ b/src/autohint/ahhint.c
@@ -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;
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index aa25844..4180508 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -305,6 +305,8 @@
slot->linearHoriAdvance = 0;
slot->linearVertAdvance = 0;
+ slot->lsb_delta = 0;
+ slot->rsb_delta = 0;
}