You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "zzz (Jira)" <ji...@apache.org> on 2021/11/20 01:43:00 UTC

[jira] [Comment Edited] (PDFBOX-5327) Parse text from two rectangles to one rectangle

    [ https://issues.apache.org/jira/browse/PDFBOX-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446737#comment-17446737 ] 

zzz edited comment on PDFBOX-5327 at 11/20/21, 1:42 AM:
--------------------------------------------------------

Sorry,Maybe my question desc is not enough clear. Now i repeate it again. Infact `CONSIGN TO :` and `PACKING LIST` are two individual text,but in example `PrintTextLocations.java` they are parsed in one same `List<TextPostiion>`,You can see it in image 2-1.png.

Not only `CONSIGN TO:` and `PACKING LIST`, Such as `SHIP TO:` and  `BILL TO:` has the same problem. What i except is they ara in two different `List<TextPosition>` .


was (Author: JIRAUSER280359):
Sorry,Maybe my question desc is not enough clear. Now i repeate it again. Infact `CONSIGN TO :` and `PACKING LIST` are two individual text,but in example `PrintTextLocations.java` they are parsed in one same `List<TextPostiion>`,You can see it in image 2-1.png.

What i except is they ara in two different `List<TextPosition>`.

> Parse text from two rectangles to one rectangle
> -----------------------------------------------
>
>                 Key: PDFBOX-5327
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5327
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.24
>            Reporter: zzz
>            Priority: Major
>         Attachments: 072B006805-P32939I-(2)(1).pdf, 1-1.png, 2-1.png, 3-1.png
>
>
> Rectangle(CONSIGN TO) and Rectangle(PACKING LIST) regard as one Rectangle(CONSIGN TO PACKING LIST)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org