]> git.lyx.org Git - features.git/commit
Treat math style a bit more like other font features
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 22 Mar 2019 14:19:27 +0000 (15:19 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:19 +0000 (15:48 +0200)
commit77fc530a20ae584c4063847ff8e3e6b1752e563b
tree4e73d9b27ae7ae836974517e309915943dce5a23
parentc4d4920ab4dab5efa9604add6fce374d958a8a1a
Treat math style a bit more like other font features

While math style (scriptstyle,...) is not really something that can be
set, it is useful for text subscripts and superscripts and therefore
it makes sense to handle it in some places.

With this change, style is still not a first class feature, but good
enough for now. In particular, it is taken into account in update().
src/Font.cpp
src/FontEnums.h
src/FontInfo.cpp
src/FontInfo.h
src/MetricsInfo.cpp
src/mathed/MathClass.cpp