commit c8a87a2839d3f55321ca3883b105d5bd481cb153
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Jul 12 16:57:34 2013 +0200
Fix problem with unbalanced braces in XeTeX output (bug #8765)
diff --git a/src/Font.cpp b/src/Font.cpp
index df4da44..084a407 100644
--- a/src/Font.cpp
+++ b/src/Font.cpp
@@ -286,6 +286,9 @@ int Font::latexWriteStartChanges(odocstream & os,
BufferParams const & bparams,
tmp += "{";
os << from_ascii(tmp);
count += tmp.length();
+ } else {
+ os << '{';
+ count += 1;
}
} else if (language()->babel() != base.language()->babel() &&
language() != prev.language()) {