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

Ben McCann commented on PDFBOX-3043:
------------------------------------

One more weird thing about this is that PrintTextLocations says 
{{space=5.537458}} for every single character except the © where it says 
{{space=9.963}}. There's some weirdness around figuring out whether to put a 
space after this character. I think the overly large space for this character 
is what's causing the problem

> Problem extracting copyright symbol?
> ------------------------------------
>
>                 Key: PDFBOX-3043
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3043
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 2.0.0
>            Reporter: Ben McCann
>         Attachments: cweb2.pdf
>
>
> This document has a © symbol. It's being extracted as "c©". I wanted to check 
> if this is a bug.
> One of the things that's strange about this is that PDFTextStripper first 
> processes "c" and then processes "©". However, PrintTextLocations prints them 
> in the other order
> String[214.936,618.879 fs=9.963 xscale=9.963 height=8.642903 space=9.963 
> width=9.962997]©
> String[217.704,618.579 fs=9.963 xscale=9.963 height=6.072449 space=5.537458 
> width=4.4235687]c



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

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

Reply via email to