]> git.lyx.org Git - lyx.git/commit
Inherit outer font in text-in-math environments
authorEnrico Forestieri <forenr@lyx.org>
Wed, 1 Nov 2023 21:21:49 +0000 (22:21 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 1 Nov 2023 21:21:49 +0000 (22:21 +0100)
commitd72b9b0238bd33197f0cea4a36d90d78d1cbc666
tree6e235348afea009a69bc1df63d713d6c6357b358
parente83c2e9f05d28a3a717fc2be45ca409ca57b384f
Inherit outer font in text-in-math environments

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

Fixes #12950.
src/MetricsInfo.cpp
src/mathed/InsetMathBox.cpp