Saving a Word Document as PDF that contains Unicode Character results with square characters

Hi,
I have this word document that contains the Unicode Character U+25CF, a black circle, when I convert to PDF, the resulting file DOES contain the Black Circle, but it also prints a square next to it, I can’t figure out where that square comes from, is there a setting I am missing?

Attached is a sample App, inside this App there is a folder called “TestFiles”, when running the application select this docxfile, the resulting PDF will contain this issue.

SampleCode.zip (115.8 KB)

Thank you in advance.

@Digital181 You should enable open type features to get the expected output:

Document doc = new Document(@"C:\Temp\in.docx");
doc.LayoutOptions.TextShaperFactory = Aspose.Words.Shaping.HarfBuzz.HarfBuzzTextShaperFactory.Instance;
doc.Save(@"C:\Temp\out.pdf");

Here is the output produced using the above code: out_HarfBuzz.pdf (26.4 KB)

Thank you, I am getting this error when trying to run my web app, I will investigate but if you have some clue, it will be really appreciated.

System.BadImageFormatException: 'Could not load file or assembly 'file:///D:\Repos\APIWeb\bin\harfbuzz.dll' or one of its dependencies. The module was expected to contain an assembly manifest.'

Thank you.

@Digital181 Which version of Aspose.Words do you use. There was a similar issue in old versions of Aspose.Words. It was resolved in 23.2 version. See the following topic for details:
https://forum.aspose.com/t/unable-to-load-library-harfbuzz-dll/246176/3