-// 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;
-}
-
-