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
docstring const & family() { return family_; }
/// The package that provides this font
docstring const & package() { return package_; }
+ /// Does this provide a specific font encoding?
+ bool hasFontenc(std::string const &) const;
+ /// The font encoding(s)
+ std::vector<std::string> const & fontencs() const { return fontenc_; }
/// Alternative font if package() is not available
std::vector<docstring> const & altfonts() { return altfonts_; }
/// A font that provides all families
///
docstring package_;
///
+ std::vector<std::string> fontenc_;
+ ///
std::vector<docstring> altfonts_;
///
docstring completefont_;