Helge Hafting wrote:

> My exact testcase (lyx qt, todays cvs):
> 1. start lyx
> 2. type "abc", insert table, type "abc" after the table, insert  another
> table, type "abc" after it. (This is all one big paragraph)
> 3. In each table, type "abc" into the two first cells.
> 4. Mark everything
> 5. change the selection to bold, using the menu.
> 6. check wether the screen is correct.
> 7. Check wether the DVI is correct.
> 8. Mark the two first cells in the first table
> 9. Apply a font change to "sans serif" size "large"
> 10. Check that this is correct on screen.
> 11. Check the DVI also
> 
> Results without the patch:
> 6. everything bold on screen as it should
> 7. Stuff inside tables is not bold - error
> 10. screen font changed to sans serif large bold as expected
> 11. In the DVI, font changed to sans serif large, still no bold.
> 
> I.e. partial table font change works - whole table font change doesn't.
> 
> Results with the patch:
> 6. everything bold on screen as it should
> 7. stuff inside tables bold too - improvement!
> 10. screen correct - sans serif large bold
> 11. In the dvi, the font changed to sans serif large bold too.

I get exactly the same results now. I probably had some object files that
were not rebuilt before.

So this means the patch works. What needs to be done before it can be
applied? Maybe change InsetTabular::setFont to a virtual function for all
insets that does nothing in other insets?


Georg

Reply via email to