On Sat, Nov 26, 2005 at 09:30:25PM +0100, Georg Baum wrote: > Font changes are not propagated to tabulars, see > http://bugzilla.lyx.org/show_bug.cgi?id=1973. > > We have two problems here: > 1) InsetTabular::noFontChange() returns true, but that is not honored by > the on-screen font handling. Therefore the font looks ok on screen. I > don't know the font stuff well enough to fix this. > 2) LyXText::setFont does not change the font of the tabular cells for > tabular insets. The code that did this has been removed by Alfredo on > November 27, 2003. > Alfredo, was this intentionally or a side effect? > > The attached patch reintroduces parts of the old code. It needs probably > some polishing if it should be applied, but it works. > > Comments?
The output is now correct, but instead we sort of have the exact opposite problem: 1. Select _more_ than the table and apply a font change. Everything is correct, on screen and in output. 2. Select a few cells inside the changed table, and change the font to something different again. Note that there is now no font change on the screen, but the output (view dvi) is correct. Contrast to 1973, where "a few cells" worked, where a whole table was ok on screen but not in output. Helge Hafting