]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Mark constructors with only one parameter as explicit
[lyx.git] / src / BufferParams.h
index 84c91ef8809a779cacf86564c58906b4d75a8bb7..3a5cd29e3c813c0ed1959ad337ccabc9c3624dc0 100644 (file)
@@ -283,8 +283,12 @@ public:
        bool useNonTeXFonts;
        /// use expert Small Caps
        bool fonts_expert_sc;
-       /// use Old Style Figures
-       bool fonts_old_figures;
+       /// use Old Style Figures (rm)
+       bool fonts_roman_osf;
+       /// use Old Style Figures (sf)
+       bool fonts_sans_osf;
+       /// use Old Style Figures (tt)
+       bool fonts_typewriter_osf;
        /// the options for the roman font
        std::string font_roman_opts;
        /// the scale factor of the sf font: [0] for TeX fonts, [1] for non-TeX fonts
@@ -462,7 +466,8 @@ public:
                XDVI
        };
        ///
-       std::string paperSizeName(PapersizePurpose purpose) const;
+       std::string paperSizeName(PapersizePurpose purpose,
+                                 std::string const & psize = std::string()) const;
        /// set up if and how babel is called
        std::string babelCall(std::string const & lang_opts, bool const langoptions) const;
        /// return supported drivers for specific packages