X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FFontMetrics.h;h=53f57a2880075b513d35aff12fd674f2319b7c6e;hb=abefdcaf309554ae9ea506affcb84e6c0219128c;hp=56e47eaeabbbc5473958332c6d3f841306cb67a9;hpb=41740ea915ee7a95206d780b6256e660cef39c6e;p=lyx.git diff --git a/src/frontends/FontMetrics.h b/src/frontends/FontMetrics.h index 56e47eaeab..53f57a2880 100644 --- a/src/frontends/FontMetrics.h +++ b/src/frontends/FontMetrics.h @@ -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