Le 07/02/2022 à 10:32, Jürgen Spitzmüller a écrit :
Am Montag, dem 07.02.2022 um 10:23 +0100 schrieb Jürgen Spitzmüller:
Some observations: The issue here is that the class has SANS family,
but the document sets fonts_default_family == "rmdefault". Hence, in
Paragraph::getLayoutFont(), d->layout_->font and outerfont have
family
INHERIT, but bparams.getFont() has ROMAN, which is what the returned
font gets. It should get INHERIT as well, though.

So I suppose the fix is to consider fonts_default_family for the
real_outerfont in non inheritFont() insets, like the attached.

Does this look correct?

Yes, it makes sense, I forgot about that.

JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to