Do not check for LaTeX fonts if we use nonTeXFont

This commit is contained in:
Juergen Spitzmueller 2012-10-06 15:51:35 +02:00
parent 269a942294
commit e55aa4359f

View File

@ -474,6 +474,9 @@ bool LaTeXFeatures::isRequired(string const & name) const
bool LaTeXFeatures::isProvided(string const & name) const
{
if (params_.useNonTeXFonts)
return params_.documentClass().provides(name);
bool const ot1 = (params_.font_encoding() == "default"
|| params_.font_encoding() == "OT1");
bool const complete = (params_.fonts_sans == "default")