You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Darren Croft (JIRA)" <ji...@apache.org> on 2018/11/15 05:41:00 UTC

[jira] [Closed] (PDFBOX-4378) No glyph for U+1F609 in font

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

Darren Croft closed PDFBOX-4378.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.12

Might have been fixed earlier.

> No glyph for U+1F609 in font
> ----------------------------
>
>                 Key: PDFBOX-4378
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4378
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.8
>         Environment: Java 8
>            Reporter: Darren Croft
>            Priority: Major
>             Fix For: 2.0.12
>
>
> I am trying to include unicode supplementary characters (emojis in this case) in a PDF document with an embedded font.
> Initially I was using fonts that really didn't have the glyphs so the error message was correct. Now I have tried the Symbola font and the NotoEmoji-Regular font and I still get the error. For instance:
> java.lang.IllegalArgumentException: No glyph for U+1F609 in font Symbola
>  at org.apache.pdfbox.pdmodel.font.PDCIDFontType2.encode(PDCIDFontType2.java:404)
>  at org.apache.pdfbox.pdmodel.font.PDType0Font.encode(PDType0Font.java:342)
>  at org.apache.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:323)
>  at org.apache.pdfbox.pdmodel.font.PDFont.getStringWidth(PDFont.java:352)
> I have verified my font files have the glyph using FontForge.
> Is there another step I need to take to use supplementary characters?
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org