]> git.lyx.org Git - features.git/commit
Fix height of cursor inside insets
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 4 Nov 2016 11:01:43 +0000 (12:01 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 4 Nov 2016 11:01:43 +0000 (12:01 +0100)
commitb099d9ae15c45a9c30727078d69c0c7bd8029c9a
treeaf950299d4f955aab2051d08c77429f323849e04
parentd207e85cfda2893de4e6c7f419c58aa342395f47
Fix height of cursor inside insets

It turns out that Cursor::getFont() does not return a fully realized
font in some cases. This patch uses real_current_font instead, which
seems better anyway.

I suspect that all uses of getFont() should be removed, but this is
not code that I know well.

Fixes bug #10478.
src/BufferView.cpp
src/Cursor.cpp
src/frontends/qt4/GuiWorkArea.cpp