Herbert's compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4674 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-07-17 11:05:16 +00:00
parent baf8d2da9f
commit 2858081d89
3 changed files with 4 additions and 3 deletions

View File

@ -1460,7 +1460,7 @@ bool MathCursor::interpret(char c)
}
if (c == '\\') {
lyxerr << "starting with macro\n";
//lyxerr << "starting with macro\n";
insert(MathAtom(new MathUnknownInset("\\", false)));
return true;
}

View File

@ -10,6 +10,7 @@
#include "math_support.h"
#include "math_parser.h"
#include "textpainter.h"
#include "support/LOstream.h"
#include "frontends/Painter.h"

View File

@ -526,7 +526,8 @@ LyXFont::FONT_SHAPE const inh_shape = LyXFont::INHERIT_SHAPE;
// mathnormal should be the first, otherwise the fallback fuerther down
// does not work
fontinfo fontinfos[] = {
{"mathnormal", inh_family, LyXFont::MEDIUM_SERIES, LyXFont::UP_SHAPE, LColor::math},
{"mathnormal",
inh_family, LyXFont::MEDIUM_SERIES, LyXFont::UP_SHAPE, LColor::math},
{"mathbf", inh_family, LyXFont::BOLD_SERIES, inh_shape, LColor::math},
{"mathcal",LyXFont::CMSY_FAMILY, inh_series, inh_shape, LColor::math},
{"mathfrak", LyXFont::EUFRAK_FAMILY, inh_series, inh_shape, LColor::math},
@ -630,7 +631,6 @@ void augmentFont(LyXFont & font, string const & name)
static bool initialized = false;
if (!initialized) {
initialized = true;
// fake fonts if necessary
if (!lyx_gui::font_available(getFont("mathfrak")))
fakeFont("mathfrak", "lyxfakefrak");