[ 
https://issues.apache.org/jira/browse/PDFBOX-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler updated PDFBOX-3300:
---------------------------------------
    Attachment: PDFBOX-3300-patch.txt

It is a better solution to fix the CMap-parser ;-)

The format 4 parser didn't work correct for rangeoffset values <> 0. 
Furthermore we have to handle ambiguous glyphid to charcode mappings. The 
current code just skips the mapping for both directions (glyphid -> charcode 
and vice versa) which leads to the missing mapping a the rendering of the 
missing glyph. 
I've fixed the format 4 parser and the ambiguous mapping is skipped for glyphid 
-> charcode but not for charcode -> glyphid.

[~tilman] Can you give the attached patch a try, please? It targets the 2.0.x 
branch

> Space rendered as missing glyph
> -------------------------------
>
>                 Key: PDFBOX-3300
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3300
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox, Rendering
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Tilman Hausherr
>            Assignee: John Hewson
>         Attachments: PDFBOX-3300-p1.jpg, PDFBOX-3300-p1.pdf, 
> PDFBOX-3300-patch.txt, PDFBOX_3300.patch
>
>
> In this file, the spaces are rendered with a "?".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to