Fix export with Japanese (platex) and non-TeX fonts.

Revert a change in c83765163f that inserts a spurious "}".
This commit is contained in:
Günter Milde 2019-08-21 12:33:13 +02:00
parent eac3298751
commit c5596da758

View File

@ -538,8 +538,7 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams,
if (closeLanguage
&& language() != base.language() && language() != next.language()
&& (language()->encoding()->package() != Encoding::CJK
|| bparams.useNonTeXFonts)) {
&& (language()->encoding()->package() != Encoding::CJK)) {
os << '}';
++count;
bool const using_begin_end =