mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
Address FIXME
This commit is contained in:
parent
40e6035d94
commit
16701fa39e
@ -865,10 +865,11 @@ void LaTeXFeatures::getFontEncodings(vector<string> & encodings) const
|
|||||||
{
|
{
|
||||||
// these must be loaded if glyphs of this script are used
|
// these must be loaded if glyphs of this script are used
|
||||||
// unless a language providing them is used in the document
|
// unless a language providing them is used in the document
|
||||||
// FIXME: currently the option is written twice in this case
|
if (mustProvide("textgreek")
|
||||||
if (mustProvide("textgreek"))
|
&& find(encodings.begin(), encodings.end(), "LGR") == encodings.end())
|
||||||
encodings.insert(encodings.begin(), "LGR");
|
encodings.insert(encodings.begin(), "LGR");
|
||||||
if (mustProvide("textcyr"))
|
if (mustProvide("textcyr")
|
||||||
|
&& find(encodings.begin(), encodings.end(), "T2A") == encodings.end())
|
||||||
encodings.insert(encodings.begin(), "T2A");
|
encodings.insert(encodings.begin(), "T2A");
|
||||||
|
|
||||||
LanguageList::const_iterator it = UsedLanguages_.begin();
|
LanguageList::const_iterator it = UsedLanguages_.begin();
|
||||||
|
Loading…
Reference in New Issue
Block a user