need the master buffer here, too: in looking up fonts during XHTML
output.
I'm half tempted to pass the master buffer to these routines, though
there are times, I think, when we want the actual buffer: e.g., when
looking up branches.
if (isDeleted(i))
continue;
- Font font = getFont(buf.params(), i, outerfont);
+ Font font = getFont(buf.masterBuffer()->params(), i, outerfont);
// emphasis
if (font_old.emph() != font.fontInfo().emph()) {
retval += inset->xhtml(xs, np);
}
} else {
- char_type c = getUChar(buf.params(), i);
+ char_type c = getUChar(buf.masterBuffer()->params(), i);
if (style.pass_thru || runparams.pass_thru)
xs << c;