]> git.lyx.org Git - features.git/blobdiff - src/Paragraph.cpp
Fix bug #6919 by splitting Inset::noFontChange() into inheritFont() and
[features.git] / src / Paragraph.cpp
index 7778e4019a6a490c30bf2a88183d29f7c6a2f7e5..0df5e364321dda2f2f0459f6d13455369077244c 100644 (file)
@@ -1091,7 +1091,7 @@ void Paragraph::Private::latexInset(BufferParams const & bparams,
        // ArabTeX, though, cannot handle this special behavior, it seems.
        bool arabtex = basefont.language()->lang() == "arabic_arabtex"
                || running_font.language()->lang() == "arabic_arabtex";
-       if (open_font && inset->noFontChange()) {
+       if (open_font && !inset->inheritFont()) {
                bool closeLanguage = arabtex
                        || basefont.isRightToLeft() == running_font.isRightToLeft();
                unsigned int count = running_font.latexWriteEndChanges(os,