else if (!requires_.empty()
&& LaTeXFeatures::isAvailable(to_ascii(requires_)))
return true;
- else if (!package_.empty()
+ else if (requires_.empty() && !package_.empty()
&& LaTeXFeatures::isAvailable(to_ascii(package_)))
return true;
else if (!altfonts_.empty()) {
return altFont(usedfont).providesOSF(ot1, complete, nomath);
else if (!osffont_.empty())
return altFont(osffont_).available(ot1, nomath);
- else if (!package_.empty() && !LaTeXFeatures::isAvailable(to_ascii(package_)))
+ else if (!available(ot1, nomath))
return false;
return (!osfoption_.empty() || !osfscoption_.empty());
return false;
else if (usedfont != name_)
return altFont(usedfont).providesSC(ot1, complete, nomath);
- else if (!package_.empty() && !LaTeXFeatures::isAvailable(to_ascii(package_)))
+ else if (!available(ot1, nomath))
return false;
return (!scoption_.empty() || !osfscoption_.empty());
return false;
else if (usedfont != name_)
return altFont(usedfont).providesScale(ot1, complete, nomath);
- else if (!package_.empty() && !LaTeXFeatures::isAvailable(to_ascii(package_)))
+ else if (!available(ot1, nomath))
return false;
-
return (!scaleoption_.empty());
}