Am 01.09.2016 um 19:12 schrieb Andrew Bogdanov:
Hello. My name is Andrew. I'm a developer from Accusoft corp. We are
using PDFBox as a base for extracting Acroforms Fields information
from PDF that was created using Adobe Acrobat Reader DC Pro. We are
using next properties to position fields on top of the document after
conversion: http://take.ms/Qn5a8
*
*
*rect.getLowerLeftX();*
*rect.getLowerLeftY();
*
*rect.getUpperRightX();
*
*rect.getUpperRightY();*
I'm attaching 2 documents that are quite similar and both have
acroform fields inside of them. Positions of fields in both documents
are identical when viewed inside Acrobat DC, though when processed
through PDFBox we receive different position values.
*f1040--2011.pdf *document field positions are correct, though
*f1040--2008.pdf* document positions are shifted to some amount, that
shift is the same for all fields in the document as if some kind of
margin was applied to the fields.
http://take.ms/YnFJc
Could you provide us with the information about whether it's an issue
of PDFBox and how it might be fixed?
You didn't tell which field (name) is different. However I noticed that
the two files have different cropboxes / mediaboxes.
Tilman