// not appear to be documented anywhere. Through examining a few
// PDF documents and the value that Acrobat places in there I
// have determined that the below method of computing the position
// is correct for certain documents, but maybe not all. It does
// work f1040ez.pdf and Form_1.pdf
PDFontDescriptor fd = ((PDSimpleFont) pdFont).getFontDescriptor();
float bBoxHeight = boundingBox.getHeight();
float fontHeight = fd.getFontBoundingBox().getHeight() + 2 * fd.getDescent();
fontHeight = (fontHeight / 1000) * fontSize;
pos = (bBoxHeight - fontHeight) / 2;
}
else
{