Add T1 fontenc as fallback for no font

This probably needs some more thought.
This commit is contained in:
Juergen Spitzmueller 2018-04-23 18:35:11 +02:00
parent 72cebc2514
commit dcd0586b75

View 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