[ 
https://issues.apache.org/jira/browse/PDFBOX-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15527652#comment-15527652
 ] 

John Hewson edited comment on PDFBOX-3300 at 9/27/16 10:43 PM:
---------------------------------------------------------------

I've reopened this because the map exposed by the new 
{{createGID2UnicodeMapping}} API is potentially _huge_ and is going to cause 
problems when our users start using it. (We're already having problems with the 
size of the data structures which FontBox maintains for TFF tables).

What we want is a simple {{List<Ingeger> getCharCodes(int gid)]}} API whcih 
doesn't perform any giant allocations.

Also note that the mappings returned are _not_ necessarily Unicode, the cmap 
table can map to any character set.


was (Author: jahewson):
I've reopened this because the map exposed by the new 
{{createGID2UnicodeMapping}} API is potentially _huge_ and is going to cause 
problems when our users start using it. (We're already having problems with the 
size of the data structures which FontBox maintains for TFF tables).

What we want is a simple {{List<Ingeger> getCharCodes(int gid)]}} API whcih 
doesn't perform any giant allocations.

Also note that the mappings returned are __not_ necessarily Unicode, the cmap 
table can map to any character set.

> 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: Andreas Lehmkühler
>             Fix For: 2.0.4, 2.1.0
>
>         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