mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix logic error in on-screen font shape
This made text in smallcaps+emph display as upright instead of plain emph. There is no latex font for smallcaps + emph, but it is not a reason for displaying it wrong.
This commit is contained in:
parent
092647dcb0
commit
4cdd9732d3
@ -114,7 +114,7 @@ public:
|
||||
if (noun_ == FONT_ON)
|
||||
return SMALLCAPS_SHAPE;
|
||||
if (emph_ == FONT_ON)
|
||||
return (shape_ == UP_SHAPE) ? ITALIC_SHAPE : UP_SHAPE;
|
||||
return (shape_ == ITALIC_SHAPE) ? UP_SHAPE : ITALIC_SHAPE;
|
||||
return shape_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user