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 2014/11/23 17:58:13 UTC
[jira] [Updated] (PDFBOX-1648) FontBox can't load CMaps with no
spaces between tokens
[ https://issues.apache.org/jira/browse/PDFBOX-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler updated PDFBOX-1648:
---------------------------------------
Affects Version/s: (was: 1.8.2)
(was: 1.7.0)
2.0.0
1.8.7
> FontBox can't load CMaps with no spaces between tokens
> ------------------------------------------------------
>
> Key: PDFBOX-1648
> URL: https://issues.apache.org/jira/browse/PDFBOX-1648
> Project: PDFBox
> Issue Type: Improvement
> Components: FontBox
> Affects Versions: 1.8.7, 2.0.0
> Reporter: Max Gilead
> Priority: Minor
> Labels: patch, test
> Fix For: 2.0.0
>
> Attachments: CMapNoWhitespace.txt, CMapWithWhitespace.txt, cmap-with-no-whitespace.patch, cmap.diff
>
>
> FontBox (tested versions 1.7.0 and 1.8.2) can't load CMap entries if they're not properly separated by whitespace making it problematic to extract the text from such PDFs. Test case and a proposed patch attached. The patch is tiny but in case it matters: it is in public domain, no credit necessary, please feel free to relicence it as you see fit.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)