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:11:16 UTC

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

     [ https://issues.apache.org/jira/browse/PDFBOX-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juraj Lonc updated PDFBOX-1547:
-------------------------------

    Attachment: redig_test_crop3.pdf
    
> 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
>         Attachments: redig_test_crop3.pdf
>
>
> 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