[LyX/master] Fix font inside footnote inset

Jürgen Spitzmüller spitz at lyx.org
Mon Feb 7 09:23:38 UTC 2022


Am Sonntag, dem 06.02.2022 um 09:25 -0500 schrieb Scott Kostyshak:
> This seems to break compilation of:
> 
>   templates/Posters/Beamerposter.lyx
> 
> I thought I had run the ctests on your patch before you committed,
> but I must have messed something up.

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.

HTH,
Jürgen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220207/fbf17394/attachment.asc>


More information about the lyx-devel mailing list