[LyX/master] Fix font inside footnote inset
Jürgen Spitzmüller
spitz at lyx.org
Mon Feb 7 09:32:09 UTC 2022
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?
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.diff
Type: text/x-patch
Size: 718 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220207/361022e8/attachment.bin>
-------------- 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/361022e8/attachment.asc>
More information about the lyx-devel
mailing list