diff src/gl-render.cc @ 10202:f0e0775a2503

scale text position
author Shai Ayal <shaiay@users.sourceforge.net>
date Tue, 26 Jan 2010 23:10:24 +0200
parents cd96d29c5efa
children 57a59eae83cc
line wrap: on
line diff
--- a/src/gl-render.cc
+++ b/src/gl-render.cc
@@ -2669,7 +2669,7 @@
   set_color (props.get_color_rgb ());
 
   // FIXME: take "units" into account
-  const Matrix pos = props.get_position ().matrix_value ();
+  const Matrix pos = xform.scale (props.get_position ().matrix_value ());
   int halign = 0, valign = 0;
 
   if (props.horizontalalignment_is ("center"))