//should use colorspaces for the font color but for now assume that
//the font color is black
try
{
graphics.setColor( Color.black );
PDFont font = text.getFont();
font.drawString( text.getCharacter(), graphics, text.getFontSize(), text.getXScale(), text.getYScale(),
text.getX(), text.getY() );
}
catch( IOException io )
{
io.printStackTrace();