* 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 );
}