Le 27/03/2016 19:37, Jean-Marc Lasgouttes a écrit :
Try this patch instead, which shows the font size of the default
insetlayout. Here I have (lots of)
plain insetlayout fontsize: 12

This is INHERIT_SIZE. The font of the default inset layout should be
all_inherit.

I suspect a compiler bug. What is your compiler? Can you try another one?

With the patch now.

JMarc

diff --git a/src/TextClass.cpp b/src/TextClass.cpp
index b6b76fd..97e3311 100644
--- a/src/TextClass.cpp
+++ b/src/TextClass.cpp
@@ -1509,6 +1509,7 @@ InsetLayout const & DocumentClass::insetLayout(docstring const & name) const
 		n = n.substr(0, i);
 	}
 	// Layout "name" not found.
+	lyxerr << "plain insetlayout fontsize: " << plain_insetlayout_.font().size() << endl;
 	return plain_insetlayout_;
 }
 

Reply via email to