The left margin given at class level should apply only to the main text.
This commit is contained in:
Richard Kimberly Heck 2018-07-08 21:38:00 -04:00
parent 1f5186b2a7
commit a007b65202

View File

@ -1609,10 +1609,10 @@ int TextMetrics::leftMargin(pit_type const pit, pos_type const pos) const
int l_margin = 0;
if (text_->isMainText())
if (text_->isMainText()) {
l_margin += bv_->leftMargin();
l_margin += bfm.signedWidth(tclass.leftmargin());
l_margin += bfm.signedWidth(tclass.leftmargin());
}
int depth = par.getDepth();
if (depth != 0) {