mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
thinko: if we have requires, do not test package
This commit is contained in:
parent
237cb51fb1
commit
909963fd5a
@ -52,7 +52,7 @@ bool LaTeXFont::available(bool ot1, bool nomath)
|
||||
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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user