]> git.lyx.org Git - lyx.git/blobdiff - src/Font.cpp
add the background image to distribution tarball
[lyx.git] / src / Font.cpp
index 084a4072fc80f1664d2dfb1d6afc43637ad5d0c6..a155ec557ae24212d703d1d07c8515ab616091aa 100644 (file)
@@ -286,7 +286,7 @@ int Font::latexWriteStartChanges(odocstream & os, BufferParams const & bparams,
                        tmp += "{";
                        os << from_ascii(tmp);
                        count += tmp.length();
-               } else {
+               } else if (language()->encoding()->package() != Encoding::CJK) {
                        os << '{';
                        count += 1;
                }
@@ -321,7 +321,7 @@ int Font::latexWriteStartChanges(odocstream & os, BufferParams const & bparams,
                                      "$$lang", language()->babel());
                        os << from_ascii(tmp);
                        count += tmp.length();
-               } else {
+               } else if (language()->encoding()->package() != Encoding::CJK) {
                        os << '{';
                        count += 1;
                }