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

John Hewson commented on PDFBOX-3300:
-------------------------------------

This font has been subset in a strange manner, there are 6996 glyphs, but most 
of them are blank. There's no glyph or cmap entry for uni0020 (space). So it 
makes sense that we're drawing the missing glyph. However, in the PDF font the 
Widths array does give the width of a space (32), as 220. Presumably we could 
be smart about this and draw an appropriate space.


> 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
>         Attachments: PDFBOX-3300-p1.jpg, PDFBOX-3300-p1.pdf
>
>
> 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