MathData::MathData(Buffer * buf, const_iterator from, const_iterator to)
: base_type(from, to), minasc_(0), mindes_(0), slevel_(0),
- sshift_(0), kerning_(0), buffer_(buf)
+ sshift_(0), buffer_(buf)
{}
MathRow mrow(mi, this);
mrow.metrics(mi, dim);
- kerning_ = mrow.kerning(bv);
// Set a minimal ascent/descent for the cell
if (tight)
}
+int MathData::kerning(BufferView const * bv) const
+{
+ return bv->mathRow(this).kerning(bv);
+}
+
+
void MathData::updateBuffer(ParIterator const & it, UpdateType utype)
{
// pass down