commit 008766fe4e4f6dc4b10ea90f7c9d4a2142e8da3b
Author: Juergen Spitzmueller <[email protected]>
Date:   Wed Aug 12 14:05:22 2020 +0200

    Pass proper font
---
 src/Paragraph.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index e4b774d..8da3d13 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -1044,7 +1044,7 @@ void Paragraph::Private::latexInset(BufferParams const & 
bparams,
                        || basefont.isRightToLeft() == 
running_font.isRightToLeft();
                unsigned int count = running_font.latexWriteStartChanges(os, 
bparams,
                                                      runparams, basefont,
-                                                     basefont, true);
+                                                     running_font, true);
                column += count;
                // if any font properties were closed, update the running_font,
                // making sure, however, to leave the language as it was
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to