mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix the partial patch for #9740 (XeTeX with TeX fonts), part 2.
This commit is contained in:
parent
32edb65985
commit
2aa65fdc8d
@ -1675,7 +1675,7 @@ void Buffer::writeLaTeXSource(otexstream & os,
|
|||||||
|
|
||||||
// XeTeX with TeX fonts is only safe with ASCII encoding,
|
// XeTeX with TeX fonts is only safe with ASCII encoding,
|
||||||
// See #9740 and FIXME in BufferParams::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");
|
runparams.encoding = encodings.fromLyXName("ascii");
|
||||||
|
|
||||||
// If we are compiling a file standalone, even if this is the
|
// If we are compiling a file standalone, even if this is the
|
||||||
|
Loading…
Reference in New Issue
Block a user