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

Joel Hirsh commented on PDFBOX-3067:
------------------------------------

Yes.

In the latest, what I get for strings is

-         @[363.94,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
2         @[368.404,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[372.86798,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[377.33197,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
,         @[381.79596,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[386.25995,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[390.72394,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[395.18793,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
.         @[399.65192,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[404.1159,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[408.5799,491.34 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
-         @[363.94,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
2         @[368.404,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[372.86798,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[377.33197,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
,         @[381.79596,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[386.25995,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[390.72394,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[395.18793,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
.         @[399.65192,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[404.1159,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]
0         @[408.5799,522.33997 type=TrueType fs=-12.0 xscale=7.44
height=6.3265433 space=-4.464 width=4.4639893 widthofspace=-4.464]


On Thu, Oct 29, 2015 at 9:33 AM, Tilman Hausherr (JIRA) <[email protected]>



> Text strings being returned as single characters, regression from version 1.8
> -----------------------------------------------------------------------------
>
>                 Key: PDFBOX-3067
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3067
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 2.0.0
>            Reporter: Joel Hirsh
>            Assignee: Tilman Hausherr
>              Labels: regression
>             Fix For: 2.0.0
>
>         Attachments: singlecharacters.pdf
>
>
>  PrintTextLocations  writestring() is returning individual characters on this 
> file, rather than a complete string.  Was returning strings with '-200,000' 
> in version 1.8
> Also note that textposition.getWidthOfSpace() is getting a negative value 
> (-4.464) for each character.  Don't know if that is symptom or a cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to