From: Dekel Tsur Date: Sat, 15 Dec 2001 15:02:36 +0000 (+0000) Subject: Consider lyxrc.zoom for computing the width of MathKernInset. X-Git-Tag: 1.6.10~20166 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=acdc6334471e51c0703e817f87bc2c41204dc6d2;p=features.git Consider lyxrc.zoom for computing the width of MathKernInset. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3216 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 0764b9a63f..24ef06a03f 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2001-12-15 Dekel Tsur + + * math_kerninset.C (metrics): Consider lyxrc.zoom + 2001-12-14 Dekel Tsur * math_support.C: Fix handling of \mathfrak font. diff --git a/src/mathed/math_kerninset.C b/src/mathed/math_kerninset.C index e14cfe786a..5fe1d030a6 100644 --- a/src/mathed/math_kerninset.C +++ b/src/mathed/math_kerninset.C @@ -8,7 +8,7 @@ #include "math_mathmlstream.h" #include "math_streamstr.h" #include "math_support.h" - +#include "lyxrc.h" MathKernInset::MathKernInset() {} @@ -43,6 +43,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(wid_.value()); + width_ = (width_*static_cast(lyxrc.zoom))/150; //cerr << "handling kern of width " << wid_.value() << "\n"; }