public void paint(Graphics2D g2D,int pageNo,Point2D pageStart,Properties ctx,boolean isView){
  Point2D.Double location=getAbsoluteLocation(pageStart);
  Rectangle allocation=m_renderer.getAllocation();
  g2D.translate(location.x,location.y);
  m_renderer.paint(g2D,allocation);
  g2D.translate(-location.x,-location.y);
}

public void paint ( Graphics2D g2D , int pageNo , Point2D pageStart , Properties ctx , boolean isView ) { Point2D . Double location = getAbsoluteLocation ( pageStart ) ; Rectangle allocation = m_renderer . getAllocation ( ) ; g2D . translate ( location . x , location . y ) ; m_renderer . paint ( g2D , allocation ) ; g2D . translate ( - location . x , - location . y ) ; }
/ paint / print . calculate actual size . the text is printed in the topmost left position - i . e . the leading is below the line
