}
final Graphics2D graphics = writer.getDirectContent().createGraphics(width, height, fontSupport);
// and now process the box ..
final LogicalPageDrawable logicalPageDrawable = new LogicalPageDrawable(logicalPage);
logicalPageDrawable.draw(graphics, new Rectangle2D.Double(0,0, width, height));
graphics.dispose();
getDocument().newPage();
}