You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Juraj Lonc (JIRA)" <ji...@apache.org> on 2013/03/22 14:09:15 UTC

[jira] [Created] (PDFBOX-1547) TextPosition.getX() and getY() do not work properly with CropBox

Juraj Lonc created PDFBOX-1547:
----------------------------------

             Summary: TextPosition.getX() and getY() do not work properly with CropBox
                 Key: PDFBOX-1547
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1547
             Project: PDFBox
          Issue Type: Bug
            Reporter: Juraj Lonc


TextPosition.getX() and getY() are supposed to calculate position relative to upper left corner of page.
When PDF contains CropBox then these functions return incorrect values. CropBox is ignored.
Text is relative to CropBox coordinates.

"page" in function description means MediaBox or CropBox?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira