]> git.lyx.org Git - features.git/commitdiff
better drawing of \not as suggested by Dekel
authorAndré Pönitz <poenitz@gmx.net>
Tue, 21 Aug 2001 14:18:51 +0000 (14:18 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Tue, 21 Aug 2001 14:18:51 +0000 (14:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2568 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_notinset.C

index 5b72fc88b2b8b0226f491f1525db8769d7617f04..0d16cd900678e8dadf09cb25a83f77d956918bee 100644 (file)
@@ -32,7 +32,7 @@ void MathNotInset::metrics(MathStyles st) const
 {
        size(st);
        mathed_char_dim(LM_TC_VAR, size_, '/', ascent_, descent_, width_);
-       width_ = 1;
+       width_ = 0;
 }
 
 
@@ -41,5 +41,5 @@ void MathNotInset::draw(Painter & pain, int x, int y) const
        xo(x);
        yo(y);
 
-       drawChar(pain, LM_TC_VAR, size_, x + 4, y, '/');
+       drawChar(pain, LM_TC_VAR, size_, x, y, '/');
 }