On Sun, Apr 10, 2005 at 05:58:23PM +0200, Lars Gullik Bjønnes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | Committed. > > You are sure this is nit causing what Helge is seeing? > > -- > Lgb
Yes, this is the villain. Attached fixes it. Grrrr... lyxfont hell indeed ;-/ - Martin
Index: rowpainter.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/rowpainter.C,v retrieving revision 1.144 diff -u -r1.144 rowpainter.C --- rowpainter.C 10 Apr 2005 14:07:32 -0000 1.144 +++ rowpainter.C 10 Apr 2005 17:23:11 -0000 @@ -146,8 +146,10 @@ LyXFont const RowPainter::getFont(pos_type pos) const { LyXFont lf(font_); + LyXFont pf(text_.getFont(par_, pos)); lf.reduce(LyXFont(LyXFont::ALL_SANE)); - lf.realize(text_.getFont(par_, pos)); + lf.realize(pf); + lf.setLanguage(pf.language()); return lf; }
pgpa1acEuADBw.pgp
Description: PGP signature