[MATHML] Change of the character coordinate system of the bounding metrics

This commit is contained in:
rbs%maths.uq.edu.au 2000-01-17 07:34:24 +00:00
Родитель 8f14d36af0
Коммит 401406c143
2 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@ -3264,10 +3264,12 @@ nsTextFrame::Reflow(nsIPresContext* aPresContext,
}
if (NS_FAILED(rv)) {
// Things didn't turn out well, just return the reflow metrics.
aMetrics.mBoundingMetrics.ascent = aMetrics.ascent;
aMetrics.mBoundingMetrics.descent = -aMetrics.descent;
aMetrics.mBoundingMetrics.width = aMetrics.width;
aMetrics.mBoundingMetrics.ascent = aMetrics.ascent;
aMetrics.mBoundingMetrics.descent = aMetrics.descent;
aMetrics.mBoundingMetrics.width = aMetrics.width;
#ifdef MOZ_MATHML_BOUNDINGMETRICS
printf("nsTextFrame: could not perform GetBoundingMetrics()\n");
#endif
}
}
#endif

Просмотреть файл

@ -3264,10 +3264,12 @@ nsTextFrame::Reflow(nsIPresContext* aPresContext,
}
if (NS_FAILED(rv)) {
// Things didn't turn out well, just return the reflow metrics.
aMetrics.mBoundingMetrics.ascent = aMetrics.ascent;
aMetrics.mBoundingMetrics.descent = -aMetrics.descent;
aMetrics.mBoundingMetrics.width = aMetrics.width;
aMetrics.mBoundingMetrics.ascent = aMetrics.ascent;
aMetrics.mBoundingMetrics.descent = aMetrics.descent;
aMetrics.mBoundingMetrics.width = aMetrics.width;
#ifdef MOZ_MATHML_BOUNDINGMETRICS
printf("nsTextFrame: could not perform GetBoundingMetrics()\n");
#endif
}
}
#endif