[
https://issues.apache.org/jira/browse/PDFBOX-5365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17477108#comment-17477108
]
Michael Klink commented on PDFBOX-5365:
---------------------------------------
See [this stack overflow answer|https://stackoverflow.com/a/46113333/1729265] -
this is just another case of the excessive PDFBox {{PdfTextStripper}}
coordinate normalization, a translation making the lower left corner of the
crop box the origin is applied. Thus, you have to undo that normalization
before using the coordinates for something else.
> (定位不对)location is bad
> ---------------------
>
> Key: PDFBOX-5365
> URL: https://issues.apache.org/jira/browse/PDFBOX-5365
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.25
> Reporter: dv
> Priority: Major
> Attachments: XyWordPDFTextStripper.java, XyWordTest.java,
> image-2022-01-17-17-12-29-608.png, image-2022-01-17-17-27-48-012.png,
> screenshot-1.png, test.pdf, test_wordFraming.pdf
>
>
> 文字定位不对,详细见附件
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]