You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Godmar Back (JIRA)" <ji...@apache.org> on 2010/01/07 16:26:39 UTC

[jira] Created: (PDFBOX-595) extracted text contains character names instead of the characters themselves

extracted text contains character names instead of the characters themselves
----------------------------------------------------------------------------

                 Key: PDFBOX-595
                 URL: https://issues.apache.org/jira/browse/PDFBOX-595
             Project: PDFBox
          Issue Type: Bug
          Components: Text extraction
    Affects Versions: 0.8.0-incubator
            Reporter: Godmar Back


PDF files created by ScanSoft PDFCreate! aren't properly extracted.

For instance, this code:

BT
0 0 0 rg
0 Tc 0 Tw /F1 12 Tf
1 0 0 1 42 739  Tm
[(T)hi)s)1(i)s)1(a)6(t)(e)(s))2(P)(D)F)4(c)(r))(a)(t)(e)(d)0(w)i)t)(h)0(S)c)(a)(ns)of))2(P)(D)F)C)r))(a)(t)(e)(!))s)1(pr))nt)(e)r)7(dr))ve)(r)7(f)r)m)2(a)6(.ht)(m)l)2(f))
1 0 0 1 438 739  Tm
[(l)e)6(vi)e)(w)e)(d)0(i)n)0(F)i)r))(f)x)0(on)
1 0 0 1 42 725  Tm
[(W)(i)ndow)s)1(X)P)(.)0(T)oda)y)0(i)s)1(01/)(07/)(2010.)
ET

is extracted as:

This is a test PDF created with Scansoft PDFCreate!'s printer driver from a .html file viewed in Firefox on
Windows XP. Today is zero1slashzero7slashtwozero1zero.

pdftotext (Poppler) extracts:

This is a test PDF created with Scansoft PDFCreate!'s printer driver from a .html file viewed in Firefox on Windows XP. Today is 01/07/2010.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PDFBOX-595) extracted text contains character names instead of the characters themselves

Posted by "Godmar Back (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Godmar Back updated PDFBOX-595:
-------------------------------

    Attachment: scansoftbugtestcase.pdf

> extracted text contains character names instead of the characters themselves
> ----------------------------------------------------------------------------
>
>                 Key: PDFBOX-595
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-595
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 0.8.0-incubator
>            Reporter: Godmar Back
>         Attachments: scansoftbugtestcase.pdf
>
>
> PDF files created by ScanSoft PDFCreate! aren't properly extracted.
> For instance, this code:
> BT
> 0 0 0 rg
> 0 Tc 0 Tw /F1 12 Tf
> 1 0 0 1 42 739  Tm
> [(T)hi)s)1(i)s)1(a)6(t)(e)(s))2(P)(D)F)4(c)(r))(a)(t)(e)(d)0(w)i)t)(h)0(S)c)(a)(ns)of))2(P)(D)F)C)r))(a)(t)(e)(!))s)1(pr))nt)(e)r)7(dr))ve)(r)7(f)r)m)2(a)6(.ht)(m)l)2(f))
> 1 0 0 1 438 739  Tm
> [(l)e)6(vi)e)(w)e)(d)0(i)n)0(F)i)r))(f)x)0(on)
> 1 0 0 1 42 725  Tm
> [(W)(i)ndow)s)1(X)P)(.)0(T)oda)y)0(i)s)1(01/)(07/)(2010.)
> ET
> is extracted as:
> This is a test PDF created with Scansoft PDFCreate!'s printer driver from a .html file viewed in Firefox on
> Windows XP. Today is zero1slashzero7slashtwozero1zero.
> pdftotext (Poppler) extracts:
> This is a test PDF created with Scansoft PDFCreate!'s printer driver from a .html file viewed in Firefox on Windows XP. Today is 01/07/2010.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.