Hi guys
Are there any news on this? I’m experiencing the exact same issue. If I’m saving the document as a .docx
file everything seems fine and emojis get rendered properly. As soon as I’m saving the document as a .pdf
the emojis are rendered as glyphs (uncolored). We used the Noto Emoji as a fallback font.
I’ve tested this on linux and macOS but I had the same results.
I’ve also tried out the following TrueType Emoji fonts but with no success:
1 Like
@bbcsystemsag
Unfortunately, there is no news available on WORDSNET-19666 at the moment. We will inform you via this forum thread once this issue is resolved.
Please use the latest version of Aspose.Words for .NET/Java with following code example and let us know how it goes on your side.
Aspose.Words for .NET 21.2
Aspose.Words for Java 21.2
.NET Code :
Document document = new Document(MyDir + @"in.docx");
document.LayoutOptions.TextShaperFactory = Aspose.Words.Shaping.HarfBuzz.HarfBuzzTextShaperFactory.Instance;
document.Save(MyDir + "out.pdf");
Java Code :
Document doc = new Document(MyDir + "in.docx");
doc.getLayoutOptions().setTextShaperFactory(com.aspose.words.shaping.harfbuzz.HarfBuzzTextShaperFactory.getInstance());
doc.save(MyDir + "output.pdf");