[
https://issues.apache.org/jira/browse/PDFBOX-3674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057760#comment-16057760
]
Tilman Hausherr commented on PDFBOX-3674:
-----------------------------------------
Here's a reduced file.... it allowed me to have a look despite having no clue
about arabic.
To clarify:
"fatha" = 064E = looks like an accent, the diacritic
"reh final" = FEAE, the non diacritic:
http://www.fileformat.info/info/unicode/char/feae/index.htm
Doing an output character by character at the beginning and at the end of
{{handleDirection}} shows that the order gets reversed.
> Incorrect ordering of fatha -- potentially indicative of larger issue with RTL
> ------------------------------------------------------------------------------
>
> Key: PDFBOX-3674
> URL: https://issues.apache.org/jira/browse/PDFBOX-3674
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Reporter: Tim Allison
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Attachments: PDFBOX-3674-reduced.pdf
>
>
> On TIKA-2257, [~ccreutzig] shared a file that triggers PDFBox to flip the
> order of the fatha. I suspect this is happening in {{normalizeAdd}} within
> PDFTextStripper, but I'm not familiar enough with the code to diagnose and
> fix.
> I confirmed this is still happening in trunk.
> Triggering file and the start of a diagnosis is available on the Tika issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]