mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Correct fontenc for secondary languages
This commit is contained in:
parent
1af0832f75
commit
998f097686
@ -906,7 +906,8 @@ void LaTeXFeatures::getFontEncodings(vector<string> & encs, bool const onlylangs
|
|||||||
|
|
||||||
for (auto const & lang : UsedLanguages_)
|
for (auto const & lang : UsedLanguages_)
|
||||||
if (!lang->fontencs().empty()) {
|
if (!lang->fontencs().empty()) {
|
||||||
vector<string> extraencs = lang->fontencs();
|
vector<string> extraencs =
|
||||||
|
getVectorFromString(lang->fontenc(buffer().masterParams()));
|
||||||
for (auto const & extra : extraencs) {
|
for (auto const & extra : extraencs) {
|
||||||
if (extra != "none" && find(encs.begin(), encs.end(), extra) == encs.end())
|
if (extra != "none" && find(encs.begin(), encs.end(), extra) == encs.end())
|
||||||
encs.insert(encs.begin(), extra);
|
encs.insert(encs.begin(), extra);
|
||||||
|
Loading…
Reference in New Issue
Block a user