mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Do not force singlebyte encoding for listings with XeTeX/LuaTeX.
Fixes: #11056
(cherry picked from commit cbf2a329c9
)
This commit is contained in:
parent
7a474a8e8b
commit
fb6e4776a0
@ -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())
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user