git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33068 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -142,8 +142,8 @@ void Cairo_text_box(const char *str, double *t, double *b, double *l, double *r)
*l = cur_x + ext.x_bearing;
*r = cur_x + ext.x_bearing + ext.width;
- *t = cur_x + ext.y_bearing;
- *b = cur_x + ext.y_bearing + ext.height;
+ *t = cur_y + ext.y_bearing;
+ *b = cur_y + ext.y_bearing + ext.height;
return;
}