commit dcd0586b75321545bc5536d5d4ea33991f3a9a11
Author: Juergen Spitzmueller <[email protected]>
Date:   Mon Apr 23 18:35:11 2018 +0200

    Add T1 fontenc as fallback for no font
    
    This probably needs some more thought.
---
 src/LaTeXFonts.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/LaTeXFonts.h b/src/LaTeXFonts.h
index ca37be5..7087649 100644
--- a/src/LaTeXFonts.h
+++ b/src/LaTeXFonts.h
@@ -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

Reply via email to