]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFonts.h
Reimplement RowPainter::paintSelection() using row elements
[lyx.git] / src / LaTeXFonts.h
index 8c9da88e5eca9b3d1342d2ad75e7466cc85c0bfe..90d91b35190a54cb7d55324aadb1e0843cb62e33 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
@@ -82,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);
        ///
@@ -131,7 +133,7 @@ private:
        ///
        docstring requires_;
        ///
-       std::string preamble_;
+       docstring preamble_;
        ///
        bool osfdefault_;
        ///