mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Don't output CJK environment with non-TeX fonts
This amends d193cd05a8
.
This commit is contained in:
parent
8c219daeeb
commit
c9dd349bee
@ -1405,7 +1405,7 @@ void latexParagraphs(Buffer const & buf,
|
||||
// if the document's language is a CJK language
|
||||
// (but not in child documents)
|
||||
OutputState * state = getOutputState();
|
||||
if (maintext && !is_child
|
||||
if (maintext && !is_child && !bparams.useNonTeXFonts
|
||||
&& bparams.language->encoding()->package() == Encoding::CJK) {
|
||||
docstring const cjkenc = (bparams.encoding().iconvName() == "UTF-8"
|
||||
&& LaTeXFeatures::isAvailable("CJKutf8")) ?
|
||||
|
Loading…
Reference in New Issue
Block a user