Span span = null;
List spans = mr.getSpans();
int saveBPPos = currentBPPosition;
+ int saveSpanBPPos = saveBPPos;
for (int count = 0; count < spans.size(); count++) {
span = (Span) spans.get(count);
int offset = (mr.getWidth()
NormalFlow flow = (NormalFlow) span.getNormalFlow(c);
if (flow != null) {
- currentBPPosition = saveBPPos;
+ currentBPPosition = saveSpanBPPos;
renderFlow(flow);
currentIPPosition += flow.getIPD();
currentIPPosition += offset;
}
currentIPPosition = saveIPPos;
currentBPPosition = saveBPPos + span.getHeight();
+ saveSpanBPPos = currentBPPosition;
}
+ currentBPPosition = saveBPPos;
}
/**