[ 
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, 2:02 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 are in two different 
`List<TextPosition>` .
And I confused about `HENAN FUCHI TECHNOLOGY CO.,LTD` and `Apple Inc.`,they are 
the next row near `SHIP TO:` and  `BILL TO:`  but they are separated.(that's 
what i except result )
ps: My english is poor,fogive me, please.


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.

Not only `CONSIGN TO:` and `PACKING LIST`, Such as `SHIP TO:` and  `BILL TO:` 
has the same problem. What i except is they are in two different 
`List<TextPosition>` .
And I confused about `HENAN FUCHI TECHNOLOGY CO.,LTD` and `Apple Inc.`,they are 
the new row of `SHIP TO:` and  `BILL TO:` and are separated.
ps: My english is poor,fogive me, please.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to