You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/12/20 14:26:13 UTC

[jira] [Updated] (PDFBOX-1351) False paragraph caused by superscript (1.7 regression)

     [ https://issues.apache.org/jira/browse/PDFBOX-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-1351:
---------------------------------------
    Fix Version/s: 2.0.0

> False paragraph caused by superscript (1.7 regression)
> ------------------------------------------------------
>
>                 Key: PDFBOX-1351
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1351
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.7.0
>            Reporter: Daniel Bonniot de Ruisselet
>             Fix For: 2.0.0
>
>         Attachments: PDFParaTest.java, superscript.pdf
>
>
> On the attached minimal example document, text extraction seems to be confused by the superscript, and generates three paragraphs where there is only one.
> Note that 1.6 is processing this case well:
> {noformat}
> $ java -jar /dev/shm/pdfbox-app-1.6.0.jar ExtractText /tmp/superscript.pdf
> Jun 29, 2012 4:52:24 PM org.apache.pdfbox.pdfparser.PDFParser parseObject
> WARNING: expected='%%EOF' actual='5 0 obj '
> $ cat /tmp/superscript.txt 
>   
> Multiple synthetic routes have been described by R. Filler et al.11 regarding 1,3-
> Bis(perfluorophenyl)propane-1,3-dione.  The synthesis and 
>  
>  
> $ java -jar /dev/shm/pdfbox-app-1.7.0.jar ExtractText /tmp/superscript.pdf 
> Jun 29, 2012 4:52:39 PM org.apache.pdfbox.pdfparser.PDFParser parseObject
> WARNING: expected='%%EOF' actual='5 0 obj '
> $ cat /tmp/superscript.txt                                                 
>   
> Multiple synthetic routes have been described by R. Filler et al.
> 11
>  regarding 1,3-
> Bis(perfluorophenyl)propane-1,3-dione.  The synthesis and 
>  
>  
> {noformat}



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