r = (TextRun)textRuns.get(chunk.end-1);
TextSpanLayout layout = r.getLayout();
GVTGlyphMetrics lastMetrics =
layout.getGlyphMetrics(layout.getGlyphCount()-1);
GVTLineMetrics lastLineMetrics = layout.getLineMetrics();
Rectangle2D lastBounds = lastMetrics.getBounds2D();
float halfLeading = (lastMetrics.getVerticalAdvance()-
(lastLineMetrics.getAscent() +
lastLineMetrics.getDescent()))/2;
float lastW = (float)(lastBounds.getWidth() + lastBounds.getX());
float lastH = (float)(halfLeading + lastLineMetrics.getAscent() +
(lastBounds.getHeight() + lastBounds.getY()));
Point2D visualAdvance;
if (!doAdjust) {
// System.err.println("Anchor: " + anchorType);