deltaW = deltaW / nglyphs; double w = 0; int cws = 0;  for(int run = 0; run < runs.length; run++ ) for(int i = 0; i < runs[ run ].getNumGlyphs(); i++ ) { if( wsglyphs[ cws * 2 ] == run && wsglyphs[ cws * 2 + 1 ] == i ) { cws++; w += deltaW; } Point2D p = runs[ run ].getGlyphPosition( i ); p.setLocation( p.getX() + w, p.getY() ); runs[ run ].setGlyphPosition( i, p ); } }
  protected void handleJustify (float justificationWidth)  {    peer.handleJustify(justificationWidth);  }