Convert PDF to Image using Aspose.PDF - Setting "DefaultFontName" gives unreadable characters

        using (Document pdfDocument = new Document(@"E:\中国移动td-lte终端总体技术规范.pdf"))
        {
            using (FileStream imageStream = new FileStream(@"E:\SetDefaultFontName.png", FileMode.Create))
            {
                Resolution resolution = new Resolution(300);
                PngDevice pngDevice = new PngDevice(resolution);
                RenderingOptions ro = new RenderingOptions();

                ro.DefaultFontName = "SimSun";
                

                pngDevice.RenderingOptions = ro;
                pngDevice.Process(pdfDocument.Pages[1], imageStream);
            }
        }

If I remove “pngDevice.RenderingOptions”, everything is OK. Bellow is the sample file.
中国移动td-lte终端总体技术规范.pdf (93.1 KB)

@tomgreen

We noticed different missing characters while testing the scenario in our environment using Aspose.PDF for .NET 21.1. Would you please confirm if you are facing similar issue. An output image is also attached for your reference.

637479631208641176.png (445.9 KB)

Yes. The symptom is the same with my case. My Aspose environment is up to date, also Aspose.PDF for .NET 21.1.

@tomgreen

We have logged an issue as PDFNET-49344 in our issue tracking system for the sake of investigation. We will look into details of the issue and keep you posted with the status of ticket resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.