]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfont.C
Two fixes involving RtL text drawing
[lyx.git] / src / lyxfont.C
index 6fefc131c90a3bfcc7854db223b1dee84928e91a..d7559ca0842c92ddcfae15c05d5d1a790f16c0c7 100644 (file)
@@ -204,12 +204,6 @@ LColor_color LyXFont::color() const
 }
 
 
-Language const * LyXFont::language() const
-{
-       return lang;
-}
-
-
 bool LyXFont::isRightToLeft() const
 {
        return lang->RightToLeft();
@@ -917,23 +911,6 @@ LColor_color LyXFont::realColor() const
 }
 
 
-// Convert logical attributes to concrete shape attribute
-LyXFont::FONT_SHAPE LyXFont::realShape() const
-{
-       register FONT_SHAPE s = shape();
-
-       if (emph() == ON) {
-               if (s == UP_SHAPE)
-                       s = ITALIC_SHAPE;
-               else
-                       s = UP_SHAPE;
-       }
-       if (noun() == ON)
-               s = SMALLCAPS_SHAPE;
-       return s;
-}
-
-
 ostream & operator<<(ostream & os, LyXFont::FONT_MISC_STATE fms)
 {
        return os << int(fms);