]> git.lyx.org Git - lyx.git/blobdiff - src/Font.cpp
Improvements to Parser::verbatimStuff
[lyx.git] / src / Font.cpp
index 75952656d0a544b87e0e37962a34441f825a90be..1a4e77464d2132ae1c790fa02781e704cdb3ee64 100644 (file)
@@ -57,8 +57,8 @@ namespace {
 
 char const * GUIFamilyNames[NUM_FAMILIES + 2 /* default & error */] =
 { N_("Roman"), N_("Sans Serif"), N_("Typewriter"), N_("Symbol"),
-  "cmr", "cmsy", "cmm", "cmex", "msa", "msb", "eufrak", "rsfs", "wasy", "esint",
-  N_("Inherit"), N_("Ignore") };
+  "cmr", "cmsy", "cmm", "cmex", "msa", "msb", "eufrak", "rsfs", "stmry",
+  "wasy", "esint", N_("Inherit"), N_("Ignore") };
 
 char const * GUISeriesNames[NUM_SERIES + 2 /* default & error */] =
 { N_("Medium"), N_("Bold"), N_("Inherit"), N_("Ignore") };
@@ -707,7 +707,7 @@ void Font::validate(LaTeXFeatures & features) const
        // FIXME: Do something for background and soul package?
 
        if (((features.usePolyglossia() && lang_->polyglossia() != doc_language->polyglossia())
-            || (features.useBabel(true) && lang_->babel() != doc_language->babel()))
+            || (features.useBabel() && lang_->babel() != doc_language->babel()))
            && lang_ != ignore_language
            && lang_ != latex_language)
        {