]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFonts.h
Some more oxygen svg icon fixes
[lyx.git] / src / LaTeXFonts.h
index f4f09b717f15896d760740ae25b5a02a9a0567a1..b5ab8c6f33293ded0af0c677d5e550b66b646e76 100644 (file)
@@ -26,7 +26,7 @@ class Lexer;
 class LaTeXFont {
 public:
        /// TeX font
-       LaTeXFont() : switchdefault_(false) {}
+       LaTeXFont() : osfdefault_(false), switchdefault_(false) {}
        /// The font name
        docstring const & name() { return name_; }
        /// The name to appear in the document dialog
@@ -70,6 +70,10 @@ public:
        bool providesOSF(bool ot1, bool complete, bool nomath);
        /// Does this font provide optional true SmallCaps?
        bool providesSC(bool ot1, bool complete, bool nomath);
+       /** does this font provide OSF and Small Caps only via 
+        * a single, undifferentiated expert option?
+        */
+       bool hasMonolithicExpertSet(bool ot1, bool complete, bool nomath);
        /// Does this font provide scaling?
        bool providesScale(bool ot1, bool complete, bool nomath);
        /// Return the LaTeX Code
@@ -78,6 +82,8 @@ public:
                                       int const & scale = 100);
        /// Return the actually used font
        docstring const getUsedFont(bool ot1, bool complete, bool nomath);
+       /// Return the actually used package
+       docstring const getUsedPackage(bool ot1, bool complete, bool nomath);
        ///
        bool read(Lexer & lex);
        ///