+2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * insettext.C (draw): re-introduce the calls to width() ascent()
+ and descent() to initialize the caching variables.
+
2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettext.C (draw):
return;
}
+ // call these methods so that insetWidth, insetAscent and
+ // insetDescent have the right values.
+ width(bv, f);
+ ascent(bv, f);
+ descent(bv, f);
+
top_baseline = baseline;
- top_y = baseline - ascent(bv, f);
+ top_y = baseline - insetAscent;
if (last_drawn_width != insetWidth) {
if (!cleared)