This commit is contained in:
parent
893c2ddba6
commit
94686ee053
|
@ -512,7 +512,7 @@ public class StringElement extends PrintElement
|
||||||
if (tabPos == -1)
|
if (tabPos == -1)
|
||||||
{
|
{
|
||||||
layout = measurer.nextLayout(p_maxWidth);
|
layout = measurer.nextLayout(p_maxWidth);
|
||||||
if (iter.getEndIndex() != measurer.nextOffset(p_maxWidth))
|
if (measurer.getPosition() < iter.getEndIndex())
|
||||||
fastDraw = false;
|
fastDraw = false;
|
||||||
}
|
}
|
||||||
else // tab
|
else // tab
|
||||||
|
@ -551,6 +551,7 @@ public class StringElement extends PrintElement
|
||||||
g2D.setFont(m_font);
|
g2D.setFont(m_font);
|
||||||
g2D.setPaint(m_paint);
|
g2D.setPaint(m_paint);
|
||||||
g2D.drawString(iter, xPen, yPen);
|
g2D.drawString(iter, xPen, yPen);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue