pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Gutso (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PDFBOX-508) Lost spacing as a result of operator "Tc" ignoring.
Date Sun, 30 Aug 2009 23:03:32 GMT

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

Dmitry Gutso commented on PDFBOX-508:
-------------------------------------

Maybe will right insert in "PDFStreamEngine.java" before:

            totalCharCnt += c.length();
            
            stringResult.append( c );


the something similar on:

 if(c != null && spaceWidthText < spacingText)             {             c = c
+ " ";            }

Otherwise the columns of table are lost which are created by spacingText (Tc) 


> Lost spacing as a result of operator "Tc" ignoring.
> ---------------------------------------------------
>
>                 Key: PDFBOX-508
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-508
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 0.7.3
>         Environment: JDK 1.6.0_16
>            Reporter: Dmitry Gutso
>         Attachments: 2a.pdf, 2a_repl2.pdf
>
>
> Continue https://issues.apache.org/jira/browse/PDFBOX-234
> Lost spacing as a result of operator "Tc" ignoring.
> Ex:
> ****************************************
> BT
>  6 0 0 6 244.0800018311 795.8400268555 Tm
>  6.5475001335 Tc
>  (41) Tj
> ****************************************
> Here PDFTextStripper.writeText() returns "41" (without spacing )

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


Mime
View raw message