On Mon, Aug 20, 2001 at 08:48:58AM +0200, Andre Poenitz wrote:
> On Sat, Aug 18, 2001 at 07:47:00PM +0200, Lars Gullik Bjønnes wrote:
> > Dekel Tsur <[EMAIL PROTECTED]> writes:
> >
> > | - The \not inset is not rendered incorrectly.
>
> Please?
To be more precise there are two problem:
1) For \not\leq, the / glyph is positioned too much to the right.
void MathNotInset::metrics(MathStyles st) const
{ ...
width_ = 1;
}
void MathNotInset::draw(Painter & pain, int x, int y) const
{ ....
drawChar(pain, LM_TC_VAR, size_, x + 4, y, '/');
}
I think that the width should be set to 0 in metrics()
and use x instead of x+4 in draw()
2) When you write \not at the end of a formula inset,
the / glyph appears outside of the mathed frame.
The problem is that the width of the / is ignored due to the width=1 line,
so the width of the frame is incorrect.