Fix the partial patch for #9740 (XeTeX with TeX fonts).

This commit is contained in:
Günter Milde 2015-10-25 11:20:43 +01:00
parent b07c8292f6
commit 36b9645b5d

View File

@ -1588,7 +1588,7 @@ bool Buffer::makeLaTeXFile(FileName const & fname,
// XeTeX with TeX fonts is only safe with ASCII encoding,
// See #9740 and FIXME in BufferParams::encoding()
if (params().useNonTeXFonts && (runparams.flavor == OutputParams::XETEX))
if (!params().useNonTeXFonts && (runparams.flavor == OutputParams::XETEX))
runparams.encoding = encodings.fromLyXName("ascii");
string const encoding = runparams.encoding->iconvName();