From: Juergen Spitzmueller Date: Mon, 5 Mar 2018 14:39:27 +0000 (+0100) Subject: Do not force singlebyte encoding for listings with XeTeX/LuaTeX. X-Git-Tag: 2.3.1~167 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5fb2566572a51f65b9571568b9b515f023173c2c;p=features.git Do not force singlebyte encoding for listings with XeTeX/LuaTeX. Fixes: #11056 (cherry picked from commit cbf2a329c94fcd531dbee41d64cf199a3ee6bb4b) --- diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index d66112e6c8..d106da3909 100644 --- a/src/insets/InsetListings.cpp +++ b/src/insets/InsetListings.cpp @@ -127,6 +127,7 @@ Encoding const * InsetListings::forcedEncoding(Encoding const * inner_enc, // such as XeTeX or LuaTeX are used, and with pLaTeX. // Minted can deal with all encodings. if (buffer().params().use_minted + || inner_enc->name() == "utf8-plain" || (buffer().params().encoding().package() == Encoding::japanese && inner_enc->package() == Encoding::japanese) || inner_enc->hasFixedWidth()) diff --git a/status.23x b/status.23x index 84020ef089..3d1d7b6215 100644 --- a/status.23x +++ b/status.23x @@ -64,6 +64,8 @@ What's new - Fix list of viewable formats in view/update menu (bug 11044). +- Fix encoding problems with listings insets and non-TeX fonts (bug 11056). + * INTERNALS