mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Fix display of emphasize in slanted text
Fixes bug #12175.
(cherry picked from commit 610ea7f4f5
)
This commit is contained in:
parent
0f17c6a98f
commit
4b2bb08884
@ -125,7 +125,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_;
|
||||
}
|
||||
|
||||
|
@ -106,6 +106,9 @@ What's new
|
||||
- Avoid pointless 'undefined flex inset' errors when changing document
|
||||
settings (bug 12163).
|
||||
|
||||
- Fix display of emphasize in slanted text (bug 12175).
|
||||
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user