On Mon, Oct 06, 2003 at 03:37:11PM +0100, Angus Leeming wrote: > [EMAIL PROTECTED] wrote: > > Log message: > > * metricsinfo.C: initialize LyXFont before changiging attribute. > > (fixes the 'math in \emph is upright' bug) > > André, this strikes me as a rather fragile fix. If you're saying that > augmentFont actually resets the font, then shouldn't the > font = LyXFont(); > be the first line of the function augmentFont itself?
Hm.. not sure. mb.font = LyXFont(); augmentFont(mb.font, name); should propbably better be mb.font = getFont(name); but I think augmentFont should stay as-is. [I forgot such a function existed...] Andre'