return string();
}
-
+// Return true, if `c` is a supported Greek or Cyrillic letter.
bool Encodings::isKnownScriptChar(char_type const c, string & preamble)
{
CharInfoMap::const_iterator const it = unicodesymbols.find(c);
bool Encodings::needsScriptWrapper(string const & script, string const & fontenc)
{
+ // Note: the wrapper is not required with Unicode font encoding "TU".
+ // However, this function is not called with non-TeX (Unicode) fonts.
if (script == "textgreek")
return (fontenc != "LGR");
if (script == "textcyrillic") {
return (fontenc != "T2A" && fontenc != "T2B"
&& fontenc != "T2C" && fontenc != "X2");
}
- if (script == "textbaltic")
- return (fontenc != "L7x");
return false;
}