From dcd0586b75321545bc5536d5d4ea33991f3a9a11 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 23 Apr 2018 18:35:11 +0200 Subject: [PATCH] Add T1 fontenc as fallback for no font This probably needs some more thought. --- src/LaTeXFonts.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LaTeXFonts.h b/src/LaTeXFonts.h index ca37be5a59..7087649a4d 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 -- 2.39.2