]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/FontMetrics.h
Add Sam Crawley to credits.
[lyx.git] / src / frontends / FontMetrics.h
index d1fae1c94eabef139523da2d6736997ead99bb5f..d6e63541401a5cd15b81209e5cea326d072afe2f 100644 (file)
@@ -75,6 +75,10 @@ public:
        /// return the distance from the base line to where the strike out line
        /// should be drawn.
        virtual int strikeoutPos() const = 0;
+       /// return true if font is not upright (italic or oblique)
+       virtual bool italic() const = 0;
+       /// return slope for italic font
+       virtual double italicSlope() const = 0;
 
        /// return the width of the char in the font
        virtual int width(char_type c) const = 0;