Font.cpp: CJK parts must not have a closing brace because they are within an environment
This commit is contained in:
Uwe Stöhr 2012-06-24 14:42:23 +02:00
parent e7d1e5b0c9
commit 47f7d44747

View File

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