HTML to PDF conversion issue with emoji rendering using .NET

I am using only Aspose.Words.Pdf2Word.dll[v6.1] and Aspose.Words.dll[v6.1] in the my solution. I am facing issue in emoji’s while converting HTML to pdf/doxc. can you please provide me suggestions to resolve it? Is there any dll for separately?
Also i have tried above RTF conversion. Its not working for me.


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input document.
  • Please attach the output file that shows the undesired behavior.
  • Please attach the expected output file that shows the desired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

Hi Team,

Please find the attached console application and the inputs. (9.1 MB) (3.9 KB)

I need the emoji without box next to it for both pdf/doc. Also please consider it should work for all the emoji’s.



We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-20440 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.


You can achieve your desired output by adding following line of code before saving the document to PDF. So, we have closed this issue (WORDSNET-20440) as ‘Not a Bug’.

maindoc1.LayoutOptions.TextShaperFactory = new BasicTextShaperCache(new HarfBuzzTextShaperFactory());