]> git.lyx.org Git - features.git/commit
Inherit outer font in text-in-math environments
authorEnrico Forestieri <forenr@lyx.org>
Thu, 2 Nov 2023 16:54:02 +0000 (17:54 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 2 Nov 2023 16:54:02 +0000 (17:54 +0100)
commit75a08df529c2745a7d5facf740e8f1d4a205bc1f
tree6ac58a5c38f44543777e534cb985be6c7c14df71
parent5d193c7b62f929ef6c212119601a9b6e45afa1ec
Inherit outer font in text-in-math environments

Some text-in-math environments such as \text, \mbox, \fbox, and
\makebox, inherit the outer text font. This commit reflects this
in the on-screen representation.

Fixes #12950.
src/MetricsInfo.cpp
src/MetricsInfo.h
src/RowPainter.cpp
src/TextMetrics.cpp
src/mathed/InsetMathBox.cpp