]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfont.C
Fixed cut&paste bugs and added freespacing for ERT Insets.
[lyx.git] / src / lyxfont.C
index 927ce95e835c46db94e21fcf6de4755c84dd82ff..f08de93fce142c16953653b53c0a30e1ca04ceac 100644 (file)
@@ -22,6 +22,7 @@
 #include "debug.h"
 #include "lyxrc.h"
 #include "lyxlex.h"
+#include "language.h"
 #include "FontLoader.h"
 #include "support/lstrings.h"
 #include "bufferparams.h" // stateText
@@ -77,7 +78,7 @@ char const * LyXShapeNames[6] =
 char const * LyXSizeNames[14] = 
 { "tiny", "scriptsize", "footnotesize", "small", "normal", "large",
   "larger", "largest", "huge", "giant", 
-  "increase-error", "decrease-error", "default", "error" };
+  "increase", "decrease", "default", "error" };
 
 char const * LyXMiscNames[5] = 
 { "off", "on", "toggle", "default", "error" };
@@ -158,6 +159,11 @@ bool LyXFont::FontBits::operator!=(LyXFont::FontBits const & fb1) const
 }
 
 
+LyXFont::LyXFont()
+       : bits(sane), lang(default_language)
+{}
+
+
 LyXFont::LyXFont(LyXFont::FONT_INIT1)
 #ifndef INHERIT_LANGUAGE
        : bits(inherit), lang(default_language)