If so, then getLayout(BufferParams const &) is fine, and does what it should. So it might be that we could go with the attached, which is what you suggested earlier. I'm not sure, however, because e.g.pars_[pit].inInset()->getLayout(buffer.params()).font()will be sane_font for InsetText, and I'm worried that that isn't right.
I guess we should have a default layout that uses the default buffer font... But I agree this
can wait. I just wanted to avoid deleting the method for now. JMarc