[ https://issues.apache.org/jira/browse/PDFBOX-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028067#comment-16028067 ]
Mikhail Semionenko commented on PDFBOX-3810: -------------------------------------------- My code: File file = getResourceAsFile("Apple Color Emoji.ttc"); TrueTypeCollection collection = new TrueTypeCollection(file); PDFont font = PDType0Font.load(document, collection.getFontByName("Apple Color Emoji"), true); Exception: java.lang.NullPointerException [org.apache.pdfbox.pdmodel.font.TrueTypeEmbedder.createFontDescriptor(TrueTypeEmbedder.java:182), org.apache.pdfbox.pdmodel.font.TrueTypeEmbedder.<init>(TrueTypeEmbedder.java:88), org.apache.pdfbox.pdmodel.font.PDCIDFontType2Embedder.<init>(PDCIDFontType2Embedder.java:65), org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:139), org.apache.pdfbox.pdmodel.font.PDType0Font.load(PDType0Font.java:108), Could this be due to the fact that Apple added to the ttc file something that prevents getting the font? > Is it possible to show emoji icons from the iOS library in the PDF document? > ---------------------------------------------------------------------------- > > Key: PDFBOX-3810 > URL: https://issues.apache.org/jira/browse/PDFBOX-3810 > Project: PDFBox > Issue Type: Wish > Reporter: Mikhail Semionenko > > I want to show emoji (like 😍) in the pdf document. Is it possible to do > something like that? -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org