mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
* Buffer.cpp (makeLaTeXFile):
- With XeTeX/LuaTeX and tex fonts, we need to force the encoding to utf8-plain manually. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36558 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c8ec2c0a03
commit
7538a23c15
@ -1233,6 +1233,11 @@ bool Buffer::makeLaTeXFile(FileName const & fname,
|
||||
{
|
||||
OutputParams runparams = runparams_in;
|
||||
|
||||
// This is necessary for LuaTeX/XeTeX with tex fonts.
|
||||
// See FIXME in BufferParams::encoding()
|
||||
if (runparams.isFullUnicode())
|
||||
runparams.encoding = encodings.fromLyXName("utf8-plain");
|
||||
|
||||
string const encoding = runparams.encoding->iconvName();
|
||||
LYXERR(Debug::LATEX, "makeLaTeXFile encoding: " << encoding << "...");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user