mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fixme for the partial patch for #9740 (XeTeX with TeX fonts),
This commit is contained in:
parent
21eea1e77a
commit
338f0174cf
@ -1675,6 +1675,8 @@ 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()
|
||||||
|
// FIXME: when only the current paragraph is shown, this seems to be ignored:
|
||||||
|
// characters encodable in the current encoding are not converted to ASCII-representation.
|
||||||
if (!params().useNonTeXFonts && (runparams.flavor == OutputParams::XETEX))
|
if (!params().useNonTeXFonts && (runparams.flavor == OutputParams::XETEX))
|
||||||
runparams.encoding = encodings.fromLyXName("ascii");
|
runparams.encoding = encodings.fromLyXName("ascii");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user