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 2016/10/05 06:35:20 UTC

[jira] [Commented] (PDFBOX-3300) Space rendered as missing glyph

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

Andreas Lehmkühler commented on PDFBOX-3300:
--------------------------------------------

The case isn't hypothetical. The method is used by PDCIDFontType2Embedder and it creates a map containing all mappings of the font to be embedded. LiberationSans-Regular.ttf for example produces a map for 2294 mappings, all of those are unique, so that we create 2294 Lists for nothing but the GC.

I'm looking into that behaviour to reduce the number of mappings to those which are really used for embedding, but it's kind of tricky as the embedded font hasn't a cmap.

> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org