Commit 55b0908ef5779f16d08ad4a60eee10a3d36bc2e6

Werner Lemberg 2005-08-24T08:04:56

* src/autofit/aflatin.c (af_latin_metrics_scale): Initialize render mode properly. Reported by chris@dokein.co.uk.

diff --git a/ChangeLog b/ChangeLog
index da2e1a4..a35bb56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-23  Werner Lemberg  <wl@gnu.org>
+
+	* src/autofit/aflatin.c (af_latin_metrics_scale): Initialize
+	render mode properly.  Reported by chris@dokein.co.uk.
+
 2005-08-23  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
 
 	Add gxvalid module to validate TrueType GX/AAT tables.
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index 35dfe29..a1f8f87 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -559,6 +559,8 @@
   af_latin_metrics_scale( AF_LatinMetrics  metrics,
                           AF_Scaler        scaler )
   {
+    metrics->root.scaler.render_mode = scaler->render_mode;
+
     af_latin_metrics_scale_dim( metrics, scaler, AF_DIMENSION_HORZ );
     af_latin_metrics_scale_dim( metrics, scaler, AF_DIMENSION_VERT );
   }