#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "math_fontinset.h"
-#include "debug.h"
#include "math_mathmlstream.h"
#include "math_streamstr.h"
#include "math_support.h"
#include "math_parser.h"
#include "LaTeXFeatures.h"
+#include "support/LOstream.h"
#include "textpainter.h"
-#include "frontends/Painter.h"
void MathFontInset::draw(MathPainterInfo & pi, int x, int y) const
{
- //lyxerr << "MathFontInset::draw\n";
- //MathNestInset::draw(pi, x, y);
MathFontSetChanger dummy(pi.base, key_->name.c_str());
cell(0).draw(pi, x + 1, y);
drawMarkers(pi, x, y);
void MathFontInset::drawT(TextPainter & pain, int x, int y) const
{
- //lyxerr << "drawing font code: " << code_ << '\n';
cell(0).drawT(pain, x, y);
}
void MathFontInset::validate(LaTeXFeatures & features) const
{
+ MathNestInset::validate(features);
// Make sure amssymb is put in preamble if Blackboard Bold or
// Fraktur used:
if (key_->name == "mathfrak" || key_->name == "mathbb")