]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFonts.h
Constify
[lyx.git] / src / LaTeXFonts.h
index d15281cd97f8de3e66d0f96c7ddecc325e5cf3b3..7f020acc8e5d8845537b701bc696653c3ff5ec0d 100644 (file)
@@ -48,8 +48,6 @@ public:
        docstring const & ot1font() { return ot1font_; }
        /// A font that provides Old Style Figures for this type face
        docstring const & osffont() { return osffont_; }
-       /// A package option needed to load this font
-       docstring const & packageoption() { return packageoption_; }
        /// A package option for Old Style Figures
        docstring const & osfoption() { return osfoption_; }
        /// A package option for true SmallCaps
@@ -59,7 +57,7 @@ public:
        /// A package option for font scaling
        docstring const & scaleoption() { return scaleoption_; }
        /// Does this provide additional options?
-       bool moreoptions() const { return moreopts_; }
+       bool providesMoreOptions(bool ot1, bool complete, bool nomath);
        /// Alternative requirement to test for
        docstring const & requires() { return requires_; }
        /// Does this font provide a given \p feature
@@ -130,7 +128,7 @@ private:
        ///
        docstring osffont_;
        ///
-       docstring packageoption_;
+       docstring packageoptions_;
        ///
        docstring osfoption_;
        ///