[
https://issues.apache.org/jira/browse/PDFBOX-5365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17477721#comment-17477721
]
dv commented on PDFBOX-5365:
----------------------------
(起始坐标重新定位了下,然后定位就准确了 ) The starting coordinates are repositioned, and then the
positioning is accurate
再次感谢 Thanks again [~tilman] [~mkl]
PDRectangle cropBox = document.getPage(i).getCropBox();
cropBox.setLowerLeftX(0);
cropBox.setLowerLeftY(0);
cropBox.setUpperRightX(document.getPage(i).getMediaBox().getWidth());
cropBox.setUpperRightY(document.getPage(i).getMediaBox().getHeight());
> (定位不对)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,
> image-2022-01-18-13-03-10-824.png, image-2022-01-18-13-03-29-800.png,
> screenshot-1.png, test.pdf, test_wordFraming.pdf,
> wordFraming-0.0.1-SNAPSHOT.jar
>
>
> 文字定位不对,详细见附件
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]