You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/09/01 18:32:53 UTC

[jira] Commented: (PDFBOX-800) Wrong text extract from vertical textboxes in pdf files

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

Jukka Zitting commented on PDFBOX-800:
--------------------------------------

Setting the sortByPosition option on the PDFTextStripper should make the "Hallo das ist ein vertikales TEXTFELD" box get correctly extracted.

> Wrong text extract from vertical textboxes in pdf files
> -------------------------------------------------------
>
>                 Key: PDFBOX-800
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-800
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>         Environment: Windows 7, VS 2010 C#
>            Reporter: Sandor Dj
>         Attachments: problemdoc.doc, problemdoc.pdf
>
>
> I was told to move this issue to the pdfbox parser, so I hope this is the right section.
> Vertical textboxes in pdf files are not extracted correctly (using the tika library in C#).
> For example if there is a vertical textbox "hello" in a pdf file (!WITHOUT! line breaks):
> H
> E
> L
> L
> O
> the parser returns 5 strings, each with a single letter, even there is NO line break after every letter.
> Is there a option to avoid this problem?

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