]> git.lyx.org Git - features.git/commitdiff
Some libertine versions have osf default, some lining
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 15 Feb 2013 09:52:00 +0000 (10:52 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 15 Feb 2013 09:52:00 +0000 (10:52 +0100)
src/tex2lyx/Preamble.cpp

index b1b9ded67d8742195618bb955d35792d75c50b9a..82135a8621d7db71741c74ebbe49ff93d24b192c 100644 (file)
@@ -684,6 +684,8 @@ void Preamble::handle_package(Parser &p, string const & name,
                h_font_sans = "biolinum";
                if (opts == "osf")
                        h_font_osf = "true";
+               else if (opts == "lining")
+                       h_font_osf = "false";
        }
 
        if (name == "libertine-type1") {
@@ -692,7 +694,7 @@ void Preamble::handle_package(Parser &p, string const & name,
                // does not automatically invoke biolinum
                if (opts == "lining")
                        h_font_osf = "false";
-               else
+               else if (opts == "osf")
                        h_font_osf = "true";
        }