Commit 24b9e87bca60ca16b29b5e2c380fece1f676b126

David Turner 2006-03-21T16:30:04

* src/autofit/aflatin.c (af_latin_metrics_scale): fixed small bug that crash the auto-hinter (introduce by previous patch). aaah

diff --git a/ChangeLog b/ChangeLog
index 1e7f951..f98c6b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-21 David Turner  <david@freetype.org>
+
+    * src/autofit/aflatin.c (af_latin_metrics_scale): fixed small bug that
+    crash the auto-hinter (introduce by previous patch). aaah
+
 2006-03-20  Werner Lemberg  <wl@gnu.org>
 
 	* builds/freetype.mk (CACHE_DIR, CACHE_H): Remove.
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index 5f6949d..2351f23 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -567,6 +567,7 @@
                           AF_Scaler        scaler )
   {
     metrics->root.scaler.render_mode = scaler->render_mode;
+    metrics->root.scaler.face        = scaler->face;
 
     af_latin_metrics_scale_dim( metrics, scaler, AF_DIMENSION_HORZ );
     af_latin_metrics_scale_dim( metrics, scaler, AF_DIMENSION_VERT );