shithub: freetype+ttf2subf

Download patch

ref: 55b0908ef5779f16d08ad4a60eee10a3d36bc2e6
parent: a438621451bf126b4819d263c4df8c19db9fd9e2
author: Werner Lemberg <[email protected]>
date: Wed Aug 24 04:04:56 EDT 2005

* src/autofit/aflatin.c (af_latin_metrics_scale): Initialize
render mode properly.  Reported by [email protected].

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-23  Werner Lemberg  <[email protected]>
+
+	* src/autofit/aflatin.c (af_latin_metrics_scale): Initialize
+	render mode properly.  Reported by [email protected].
+
 2005-08-23  suzuki toshiya <[email protected]>
 
 	Add gxvalid module to validate TrueType GX/AAT tables.
--- 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 );
   }