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

Reply via email to