]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_kerninset.C
whichFont down to 5.3%
[lyx.git] / src / mathed / math_kerninset.C
index e14cfe786a86d2b1fd137f5f1d6e67d86defdfe9..ae853e35b718e3544e0119d2074d2fa65e70be92 100644 (file)
@@ -8,6 +8,7 @@
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 #include "math_support.h"
+#include "lyxrc.h"
 
 
 MathKernInset::MathKernInset()
@@ -43,6 +44,7 @@ void MathKernInset::metrics(MathMetricsInfo const &) const
 #endif
        // this uses the numerical valu in pixels, even if the unit is cm or ex!
        width_   = static_cast<int>(wid_.value());
+       width_   = (width_*static_cast<int>(lyxrc.zoom))/150;
        //cerr << "handling kern of width " << wid_.value() << "\n";
 }