+bool Encodings::needsScriptWrapper(string const & script, string const & fontenc)
+{
+ if (script == "textgreek")
+ return (fontenc != "LGR");
+ if (script == "textcyrillic") {
+ return (fontenc != "T2A" && fontenc != "T2B"
+ && fontenc != "T2C" && fontenc != "X2");
+ }
+ return false;
+}
+
+