]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/FontMetrics.h
Add comment
[lyx.git] / src / frontends / FontMetrics.h
index 56e47eaeabbbc5473958332c6d3f841306cb67a9..53f57a2880075b513d35aff12fd674f2319b7c6e 100644 (file)
@@ -63,6 +63,9 @@ public:
        /// return default dimension of the font.
        /// \warning \c width is set to zero.
        virtual Dimension const defaultDimension() const = 0;
+       /// return the em size
+       virtual int em() const = 0;
+
        /// return the width of the char in the font
        virtual int width(char_type c) const = 0;
        /// return the ascent of the char in the font