mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
baf8d2da9f
commit
2858081d89
@ -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;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "math_support.h"
|
||||
#include "math_parser.h"
|
||||
#include "textpainter.h"
|
||||
#include "support/LOstream.h"
|
||||
#include "frontends/Painter.h"
|
||||
|
||||
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user