]> git.lyx.org Git - lyx.git/blobdiff - src/FontInfo.h
Update Win installer for new dictionary links. Untested.
[lyx.git] / src / FontInfo.h
index 3e0ac5d4a7a566d28f2c765124c0307d4f19c224..3feefca662b562661ca8d626a3ddc737148e7735 100644 (file)
@@ -129,7 +129,8 @@ public:
                if (noun_ == FONT_ON)
                        return SMALLCAPS_SHAPE;
                if (emph_ == FONT_ON)
-                       return (shape_ == ITALIC_SHAPE) ? UP_SHAPE : ITALIC_SHAPE;
+                       return (shape_ == ITALIC_SHAPE || shape_ == SLANTED_SHAPE)
+                               ? UP_SHAPE : ITALIC_SHAPE;
                return shape_;
        }
 
@@ -161,6 +162,9 @@ public:
        /// \param realize the \param font against the current FontInfo.
        Changer change(FontInfo font, bool realize = false);
 
+       /// Build GUI description of font state
+       docstring const stateText(bool const terse = false) const;
+
 private:
        friend bool operator==(FontInfo const & lhs, FontInfo const & rhs);