On Mon, Oct 21, 2002 at 03:07:20PM +0200, Dekel Tsur wrote:
> retrieving revision 1.47
> diff -u -p -r1.47 math_symbolinset.C
> --- src/mathed/math_symbolinset.C     17 Oct 2002 13:15:25 -0000      1.47
> +++ src/mathed/math_symbolinset.C     21 Oct 2002 13:06:20 -0000
> @@ -57,12 +57,7 @@ void MathSymbolInset::metrics(MathMetric
>               dim_.d -= h_;
>       }
>       // seperate things a bit
> -     int em = mathed_char_width(mi.base.font, 'M');
> -     if (name() == "not")
> -             // \not is a special case. 
> -             // It must have 0 width to align properly with the next symbol.
> -             dim_.w = 0;
> -     else if (isRelOp())
> +     if (isRelOp())
>               dim_.w += static_cast<int>(0.5*em+0.5);
>       else
>               dim_.w += static_cast<int>(0.15*em+0.5);

Make sure this compiles. You are removing 'em', aren't you?


Apart from that that's fine with me.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to