int const xo = main_text_? 0 : bv_->coordCache().get(text_, pit).x_;
x -= xo;
Paragraph const & par = text_->getPar(pit);
+ ParagraphMetrics const & pm = par_metrics_[pit];
Bidi bidi;
bidi.computeTables(par, buffer, row);
tmpx -= singleWidth(pit, body_pos - 1);
}
- if (par.hfillExpansion(row, c)) {
+ if (pm.hfillExpansion(row, c)) {
tmpx += singleWidth(pit, c);
if (c >= body_pos)
tmpx += row.hfill;
// Re-enable screen drawing for future use of the painter.
pi.pain.setDrawingEnabled(true);
- LYXERR(Debug::PAINTING) << "." << endl;
+ //LYXERR(Debug::PAINTING) << "." << endl;
}