thinko: if we have requires, do not test package

This commit is contained in:
Juergen Spitzmueller 2012-09-24 08:41:44 +02:00
parent 237cb51fb1
commit 909963fd5a

View File

@ -52,7 +52,7 @@ bool LaTeXFont::available(bool ot1, bool nomath)
else if (!requires_.empty() else if (!requires_.empty()
&& LaTeXFeatures::isAvailable(to_ascii(requires_))) && LaTeXFeatures::isAvailable(to_ascii(requires_)))
return true; return true;
else if (!package_.empty() else if (requires_.empty() && !package_.empty()
&& LaTeXFeatures::isAvailable(to_ascii(package_))) && LaTeXFeatures::isAvailable(to_ascii(package_)))
return true; return true;
else if (!altfonts_.empty()) { else if (!altfonts_.empty()) {