--- /dev/null
+// -*- C++ -*-
+/**
+ * \file Spacing.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
+ */
+
+#ifndef SPACING_H
+#define SPACING_H
+
+class Spacing {
+public:
+ ///
+ enum Space {
+ Single,
+ Onehalf,
+ Double,
+ Other,
+ Default
+ };
+
+ void set(Spacing::Space, float = 1.0) {}
+};
+
+#endif // NOT SPACING_H
--- /dev/null
+/**
+ * \file gettext.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS
+ */
+
+#include <config.h>
+
+#include "gettext.h"
+
+string const _(string const & str)
+{
+ return str;
+}
+
+
+void locale_init()
+{}
--- /dev/null
+// -*- C++ -*-
+/**
+ * \file gettext.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS
+ */
+#ifndef GETTEXT_H
+#define GETTEXT_H
+
+#include "LString.h"
+
+///
+string const _(string const &);
+
+#define N_(str) (str) // for detecting static strings
+
+///
+void locale_init();
+
+#endif
--- /dev/null
+/**
+ * \file lyxfont.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
+ */
+
+#include <config.h>
+
+#include "lyxfont.h"
+#include "lyxlex.h"
+#include "support/lstrings.h"
+
+using namespace lyx::support;
+
+
+LyXFont & LyXFont::lyxRead(LyXLex & lex)
+{
+ bool error = false;
+ bool finished = false;
+ while (!finished && lex.isOK() && !error) {
+ lex.next();
+ string const tok = ascii_lowercase(lex.getString());
+
+ if (tok.empty()) {
+ continue;
+ } else if (tok == "endfont") {
+ finished = true;
+ } else if (tok == "family") {
+ lex.next();
+ } else if (tok == "series") {
+ lex.next();
+ } else if (tok == "shape") {
+ lex.next();
+ } else if (tok == "size") {
+ lex.next();
+ } else if (tok == "misc") {
+ lex.next();
+ } else if (tok == "color") {
+ lex.next();
+ } else {
+ lex.printError("Unknown tag `$$Token'");
+ error = true;
+ }
+ }
+ return *this;
+}
--- /dev/null
+// -*- C++ -*-
+/**
+ * \file lyxfont.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
+ */
+
+#ifndef LYXFONT_H
+#define LYXFONT_H
+
+class LyXLex;
+
+class LyXFont {
+public:
+ /// Trick to overload constructor and make it megafast
+ enum FONT_INIT1 { ALL_INHERIT };
+ enum FONT_INIT3 { ALL_SANE };
+
+ LyXFont() {}
+ explicit LyXFont(LyXFont::FONT_INIT1) {}
+ explicit LyXFont(LyXFont::FONT_INIT3) {}
+
+ LyXFont & lyxRead(LyXLex &);
+
+ LyXFont & realize(LyXFont const &) { return *this; }
+ bool resolved() const { return true; }
+};
+
+#endif // NOT LYXFONT_H