Christopher Clark created PDFBOX-2839:
-----------------------------------------
Summary: Missing TextPosition(s) in PDFTextStripper
Key: PDFBOX-2839
URL: https://issues.apache.org/jira/browse/PDFBOX-2839
Project: PDFBox
Issue Type: Bug
Components: Text extraction
Affects Versions: 2.0.0
Reporter: Christopher Clark
The protected method `writeString` in `PDFTextStripper` can receive more
characters than TextPositions. I tracked the problem down to the `normalizeAdd`
method where, for multi-character unicode words, Multiple characters can be
added to a line while only a single TextPosition object is added to the
corresponding list of TextPositions.
This pdf: https://www.aclweb.org/anthology/W/W13/W13-4011.pdf contains such a
character.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]