]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.C
This commit cleans up everything related to singleton. The other important change...
[lyx.git] / src / mathed / InsetMathBig.C
index b06654ae9e9581cf20af453c8bf8129b71da1ccd..90900360df2217834f72ac4c003882939a7d60b3 100644 (file)
@@ -15,6 +15,8 @@
 #include "MathMLStream.h"
 #include "MathStream.h"
 
+#include "frontends/FontMetrics.h"
+
 #include "support/lstrings.h"
 
 
@@ -61,7 +63,7 @@ double InsetMathBig::increase() const
 
 void InsetMathBig::metrics(MetricsInfo & mi, Dimension & dim) const
 {
-       double const h = mathed_char_ascent(mi.base.font, 'I');
+       double const h = theFontMetrics(mi.base.font).ascent('I');
        double const f = increase();
        dim_.wid = 6;
        dim_.asc = int(h + f * h);