mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix the partial patch for #9740 (XeTeX with TeX fonts).
This commit is contained in:
parent
b07c8292f6
commit
36b9645b5d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user