]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathSupport.cpp
Fix external middle-mouse pasting with Qt5/X11.
[lyx.git] / src / mathed / MathSupport.cpp
index 7d15c42672f2357c0a053af1b642ec9b6b8a49a1..1f90873fec10dae82647e76511081f2d3ce9951a 100644 (file)
@@ -501,6 +501,12 @@ deco_struct const * search_deco(docstring const & name)
 } // namespace anon
 
 
+int mathed_font_em(FontInfo const & font)
+{
+       return theFontMetrics(font).em();
+}
+
+
 int mathed_char_width(FontInfo const & font, char_type c)
 {
        return theFontMetrics(font).width(c);