]> git.lyx.org Git - features.git/commitdiff
Add T1 fontenc as fallback for no font
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 23 Apr 2018 16:35:11 +0000 (18:35 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 23 Apr 2018 16:35:11 +0000 (18:35 +0200)
This probably needs some more thought.

src/LaTeXFonts.h

index ca37be5a5989cba9490b7d9a40a56bbd9a5c7020..7087649a4dcfc8c8b217fc6a5cb2c2486b1331f9 100644 (file)
@@ -26,7 +26,8 @@ class Lexer;
 class LaTeXFont {
 public:
        /// TeX font
-       LaTeXFont() : osfdefault_(false), switchdefault_(false) {}
+       // FIXME Add fontenc tag to classes which is used if no font is specified?
+       LaTeXFont() : osfdefault_(false), switchdefault_(false) { fontenc_.push_back("T1"); }
        /// The font name
        docstring const & name() { return name_; }
        /// The name to appear in the document dialog