(c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
+#include <cctype>
#include "modified-font-metric.hh"
#include "pango-font.hh"
-
-#include <cctype>
-
+#include "text-metrics.hh"
#include "warn.hh"
#include "stencil.hh"
b.scale (magnification_);
return b;
}
-
-
if (input_encoding_ == "TeX")
b = tex_kludge (text);
if (idx >= 0)
char_box = orig_->get_indexed_char (idx);
- char_box.scale (magnification_);
if (!char_box[X_AXIS].is_empty ())
/* length ? */
w += char_box[X_AXIS][RIGHT];
ydims = Interval (0, 0);
b = Box (Interval (0, w), ydims);
+ b.scale (magnification_);
}
return b;