]> git.lyx.org Git - features.git/commitdiff
Font.cpp: fix bug #8424 also for branch
authorUwe Stöhr <uwestoehr@lyx.org>
Tue, 20 Nov 2012 21:22:52 +0000 (22:22 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Tue, 20 Nov 2012 21:22:52 +0000 (22:22 +0100)
- Font.cpp: fix the bug
- status.20x: fix the formatting/style

src/Font.cpp
status.20x

index 9377db7dd70135463da4c881bbe04d046a44517f..733f86828d4eaaf5348030c6139af398dbf1ff8d 100644 (file)
@@ -332,7 +332,7 @@ int Font::latexWriteStartChanges(odocstream & os, BufferParams const & bparams,
                }
        }
 
-       // When the current language is Hebrew, Arabic, or Farsi
+       // If the current language is Hebrew, Arabic, or Farsi
        // the numbers are written Left-to-Right. ArabTeX package
        // reorders the number automatically but the packages used
        // for Hebrew and Farsi (Arabi) do not.
@@ -428,7 +428,7 @@ int Font::latexWriteStartChanges(odocstream & os, BufferParams const & bparams,
                }
                os << '\\'
                   << LaTeXSizeNames[f.size()]
-                  << ' ';
+                  << '{';
                count += strlen(LaTeXSizeNames[f.size()]) + 2;
        }
        return count;
@@ -513,6 +513,8 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams,
                        os << '}';
                        ++count;
                }
+               os << '}';
+               ++count;
        }
 
        // When the current language is Hebrew, Arabic, or Farsi
index 745904da203b999f9025639669707251ea644e8b..6db007ad4248ab3bd52b03b45aa032d2363c1f62 100644 (file)
@@ -55,18 +55,18 @@ What's new
 
 * DOCUMENT INPUT/OUTPUT
 
-- Do not let child document's settings override master settings
-  (bug #5941).
+- Do not let child document's settings override master settings (bug 5941).
 
+- Correct output of text in changed font size and with decorations (bug 8424).
 
 
 * USER INTERFACE
 
 - Fix regression in which clicking in the main work area always resets
-  the selected format in View > Source (bug #8411).
+  the selected format in View > Source (bug 8411).
   
 - When selecting text and Insert > Preview, immediately display the
-  preview (bug #8075).
+  preview (bug 8075).
 
 
 * DOCUMENTATION AND LOCALIZATION