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:
Martin Vermeer 2006-01-28 12:39:22 +00:00
parent fd2124c83d
commit 429c5d7160
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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