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 2020/03/07 11:39:00 UTC

[jira] [Commented] (PDFBOX-4795) Hebrew words are extracted with no whitespace between

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

Andreas Lehmkühler commented on PDFBOX-4795:
--------------------------------------------

Have you tried the sort option? Looks like it has quite an impact on your pdf, see attachment

BTW, it would be easier if you could be more specific about the example you are referring to, a page and/or line number would help a lot as at least I'm not able to read anything but latinish characters. Everything else looks like little paintings to me ;-)

> Hebrew words are extracted with no whitespace between
> -----------------------------------------------------
>
>                 Key: PDFBOX-4795
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4795
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.19
>         Environment: Windows 10
>            Reporter: Josh Burchard
>            Priority: Major
>         Attachments: hebrew_newsletter.pdf
>
>
> When I extract Hebrew text from the included PDF, white space delimiting the words is not output.
> Example string of text as appears in the PDF:
> מאיר שמגר. ״ההלכות
> And the string as PDFBox extracts it:
> ״ההלכותשמגר.מאיר
> The words themselves are presented LTR, instead of RTL.  It would be nice to have them RTL, but in my particular use case that doesn't matter as I'm creating an index.  The spaces between matter a lot, however.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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