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 18:02:12 UTC
[jira] [Resolved] (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 resolved PDFBOX-1648.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.8
Assignee: Andreas Lehmkühler
I'ev applied the latest version of the patch to the 1.8 branch and the trunk as well
Thanks to [~maxgilead] and [~kevinp@amphora-research.com] for the contribution!
> 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
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Labels: patch, test
> Fix For: 1.8.8, 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)