From 5fb2566572a51f65b9571568b9b515f023173c2c Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 5 Mar 2018 15:39:27 +0100 Subject: [PATCH] Do not force singlebyte encoding for listings with XeTeX/LuaTeX. Fixes: #11056 (cherry picked from commit cbf2a329c94fcd531dbee41d64cf199a3ee6bb4b) --- src/insets/InsetListings.cpp | 1 + status.23x | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.39.5