]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.cpp
Further cleanup of InsetFlex, InsetCollapsable and InsetLayout:
[lyx.git] / src / TextClass.cpp
index 16928031332bb1282a10d17074c7e69a618234c5..c82b7367cfb1300dcf78a01f8d50701a4c5c43ce 100644 (file)
@@ -707,6 +707,9 @@ void TextClass::readInsetLayout(Lexer & lexrc, docstring const & name)
                        break;
                case IL_LABELFONT:
                        labelfont = lyxRead(lexrc, inherit_font);
+                       // The label font is generally used as-is without
+                       // any realization against a given context.
+                       labelfont.realize(sane_font);
                        break;
                case IL_FORCELTR:
                        lexrc.next();