]> git.lyx.org Git - lyx.git/commit
Inherit outer font in text-in-math environments
authorEnrico Forestieri <forenr@lyx.org>
Thu, 2 Nov 2023 17:04:04 +0000 (18:04 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 2 Nov 2023 17:04:04 +0000 (18:04 +0100)
commita247305b319f4c8051690cff573455d20b7507c7
tree8e21504dc41d470f5dcc3b0c22e44c368002c831
parentde6d0bfa3fe12a40eab3268e828f4cd10e8a8e32
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
status.23x