]> git.lyx.org Git - features.git/commitdiff
Pass proper font
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 12 Aug 2020 12:05:22 +0000 (14:05 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 12 Aug 2020 12:05:22 +0000 (14:05 +0200)
src/Paragraph.cpp

index e4b774d3f022de5307fd6f0ba301e2a5ed987374..8da3d13fc1a67fd9282b07a588382476093f17a4 100644 (file)
@@ -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