On Tue, Apr 12, 2005 at 02:23:27PM +0300, Martin Vermeer wrote: > What should happen is, that LyXTextClass's defaultfont_ should be > transferred to LyXText, preferably at construction. > > Any idea on how to do that?
If it were possible to defer that transfer into the actual drawing (i.e. metrics phase), maybe even without active caching (causing most likely a second lookup in the drawing phase) I'd prefer that (unless the profiler says nay)... I am, however, not sure whether this is practically possible given the current state of LyXText. The idea is not to cache drawing related stuff permanently in an inset, but at most between metrics and drawing phase. Andre'