mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Fix 2019: take inset's own font settings into account when defining font to
reduce to git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10784 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fd2124c83d
commit
429c5d7160
@ -1,3 +1,8 @@
|
||||
2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* text2.C (setCharFont): take inset's own font settings into account
|
||||
when defining the font to reduce to, fixes 2019
|
||||
|
||||
2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* bufferview_funcs.C (coordOffset): remove the check for
|
||||
|
@ -283,6 +283,11 @@ void LyXText::setCharFont(pit_type pit, pos_type pos, LyXFont const & fnt)
|
||||
}
|
||||
}
|
||||
|
||||
// Inside inset, apply the inset's font attributes if any
|
||||
// (charstyle!)
|
||||
if (!isMainText())
|
||||
layoutfont.realize(font_);
|
||||
|
||||
layoutfont.realize(defaultfont_);
|
||||
|
||||
// Now, reduce font against full layout font
|
||||
|
Loading…
Reference in New Issue
Block a user